Function at 0x419930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [ebp + 8]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0x4bfa
mov byte [esp + 0xbd], 1
mov byte [esp + 0xbc], 0xea
movzx ecx, word [esp + 0xbe]
mov dx, cx
mov esi, ecx
add esi, 0xffff8d92
mov di, si
mov word [esp + 0xbe], di
mov dword [esp + 0xb8], 0x4988
mov word [esp + 0x8e], 0x7c8d
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0x623f
mov esi, ecx
add esi, 0xffffd368
mov di, si
mov word [esp + 0xbe], di
mov dword [esp + 0xa4], 0x7967
mov dword [esp + 0x64], eax
mov eax, esp
mov dword [eax + 4], 0xc
mov dword [eax], 0x41d079
mov word [esp + 0x5e], dx
mov dword [esp + 0x58], ecx
call fcn.0041a120
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
or esi, 0x510b
mov dx, si
mov word [esp + 0xbe], dx
mov esi, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0xb8]
mov ecx, eax
add ecx, 0xffffb686
mov edi, esp
mov dword [edi + 4], ecx
mov dword [edi], 0x41d094
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], eax
call fcn.0041a120
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x14], eax
mov eax, esp
mov dword [eax + 4], 0xd
mov dword [eax], 0x41d086
call fcn.0041a120
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x18], eax
mov eax, esp
mov dword [eax + 4], 0xc
mov dword [eax], 0x41d041
call fcn.0041a120
mov ecx, dword [esp + 0x64]
mov dword [ecx], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0x3404
mov eax, dword [esp + 0xb8]
xor eax, 0x4986
mov cl, byte [esp + 0xcf]
mov ch, cl
not ch
mov byte [esp + 0xcf], ch
mov esi, esp
mov dword [esi + 4], eax
mov dword [esi], 0x41d050
mov byte [esp + 0x4b], ch
mov byte [esp + 0x4a], cl
call fcn.0041a120
mov cl, byte [esp + 0x4b]
mov byte [esp + 0xcf], cl
mov esi, dword [esp + 0x64]
mov dword [esi + 4], eax
mov eax, esp
mov dword [eax], fcn.00419930
call fcn.0041a050
mov dword [esp + 0xa0], eax
mov esi, esp
mov dword [esi], eax
call fcn.00418d20
mov esi, dword [esp + 0x64]
mov eax, dword [eax + 0x50]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x64]
mov dword [esi + 0x34], eax
call fcn.0041add0
mov esi, dword [esp + 0x64]
mov dword [esi + 0x3c], eax
call fcn.0041adc0
mov esi, dword [esp + 0x64]
mov dword [esi + 0x40], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x64]
mov edi, dword [edi + 0x34]
mov eax, dword [eax + 0x14]
mov esi, dword [esi + 0x38]
mov ebx, esp
lea ecx, [esp + 0x90]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 4], esi
mov dword [ebx], edi
mov dword [ebx + 8], 0x40
call eax
add esp, 0xfffffff0
lea ecx, [esp + 0x6d]
mov esi, 0x4988
mov dl, 0xea
mov edi, dword [0x41e014]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x44], edi
mov edi, dword [0x41e010]
mov bx, word [esp + 0x5e]
mov word [esp + 0xbe], bx
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x48], edi
mov edi, dword [0x41e000]
mov dword [esp + 0x60], edi
mov di, word [esp + 0x5e]
mov word [esp + 0xbe], di
mov dh, byte [esp + 0xbc]
xor dh, 0xea
mov byte [esp + 0x6d], dh
and di, 0x1b2b
mov word [esp + 0xbe], di
mov byte [esp + 0x6e], 0
sub dl, byte [esp + 0xbc]
mov byte [esp + 0x6f], dl
mov ebx, esi
sub ebx, dword [esp + 0xb8]
mov dword [esp + 0x88], ebx
mov dword [esp + 0xb4], 0
mov ebx, dword [esp + 0xb8]
add ebx, 0xffffb678
mov dword [esp + 0x70], ebx
sub esi, dword [esp + 0xb8]
mov di, word [esp + 0x5e]
imul di, di
mov word [esp + 0xbe], di
mov dword [esp + 0x98], esi
mov esi, dword [esp + 0x60]
add esi, 3
mov ebx, dword [esp + 0xb8]
add ebx, 0xffffb67b
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0x44], eax
call fcn.0041b0d0
mov dl, byte [esp + 0xbc]
add dl, 0x16
mov byte [esp + 0x97], dl
mov di, word [esp + 0x5e]
sub di, 0x7387
mov word [esp + 0xbe], di
mov dword [esp + 0x40], eax
mov al, byte [esp + 0xbd]
mov dx, word [esp + 0x5e]
mov cx, dx
and ecx, 0x6c06
mov si, cx
movzx ecx, byte [esp + 0x97]
inc al
mov word [esp + 0xbe], si
and al, 1
mov byte [esp + 0x9f], al
cmp ecx, 3
jge 0x419cdf
mov al, byte [esp + 0xbd]
cmp dword [esp + 0x98], 0
setne cl
xor cl, al
and cl, 1
mov byte [esp + 0x9f], cl
mov dx, word [esp + 0x5e]
mov word [esp + 0xbe], dx
test byte [esp + 0x9f], 1
jne 0x419cee
jmp 0x419f23
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0x37ae
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xc4], 0xffffffff
mov dword [esp + 0xc0], 0xffffdcd3
add eax, 0xffffbd0e
adc ecx, 0xffffffff
mov edx, dword [esp + 0x54]
and edx, edx
mov esi, dword [esp + 0x50]
and esi, esi
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], edx
sub eax, edi
setae dl
sub ecx, ebx
setae dh
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x3b], dh
mov dword [esp + 0x34], eax
mov byte [esp + 0x33], dl
je 0x419d7c
mov al, byte [esp + 0x3b]
mov byte [esp + 0x33], al
mov al, byte [esp + 0x33]
test al, al
jne 0x41a000
jmp 0x419d8a
movzx eax, byte [esp + 0x97]
movzx eax, byte [esp + eax + 0x6d]
mov ecx, eax
sub ecx, 0x53
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
je 0x419dd1
jmp 0x419da8
mov eax, dword [esp + 0x2c]
sub eax, 0x56
mov dword [esp + 0x24], eax
je 0x419e39
jmp 0x419dbb
mov eax, dword [esp + 0x2c]
sub eax, 0x57
mov dword [esp + 0x20], eax
je 0x419e88
jmp 0x419ee3
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x44]
mov ecx, 0x3fc7
mov edx, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, edx
mul ecx
mov ecx, dword [esp + 0x50]
imul esi, ecx, 0x3fc7
add edx, esi
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
movzx eax, byte [esp + 0x97]
mov edx, dword [esp + 0xb8]
add edx, 0xffffb678
shl eax, 2
sub edx, eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + edx - 8]
mov dword [eax + 0x54], edx
mov dword [esp + 0x70], 1
jmp 0x419eee
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x44]
mov ecx, dword [esp + 0xb8]
add ecx, 0xffffb678
movzx edx, byte [esp + 0x97]
shl edx, 2
sub ecx, edx
mov edx, dword [esp + 0x4c]
add edx, edx
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0xb8]
add esi, 0xffffb679
mov eax, dword [eax + ecx - 8]
mov dword [edx + 0x4c], eax
mov dword [esp + 0x88], esi
jmp 0x419eee
mov eax, dword [esp + 0xb8]
movzx ecx, byte [esp + 0x97]
shl ecx, 2
mov edx, 0x4988
sub edx, eax
sub edx, ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x44]
mov esi, dword [esp + 0x54]
or esi, 0xd22
mov ecx, dword [ecx + edx - 8]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc0], esi
mov esi, dword [esp + 0xb8]
xor esi, 0x4989
mov dword [eax + 0x50], ecx
mov dword [esp + 0xb4], esi
jmp 0x419eee
mov dword [esp + 0x98], 1
mov al, byte [esp + 0x97]
mov cl, byte [esp + 0xbc]
xor cl, 0xeb
add al, cl
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc0], edx
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc4], esi
mov byte [esp + 0x97], al
jmp 0x419c7c
cmp dword [esp + 0x70], 0
jne 0x419f9e
mov al, byte [esp + 0x4a]
xor al, 0xd2
mov byte [esp + 0xcf], al
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x4c]
or esi, esi
mov edi, dword [0x41e00c]
mov dword [esp + 0xd8], esi
mov dword [esp + 0x84], edi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x68], esi
sub ecx, 0x2ec8
setb al
xor ebx, ebx
test edx, edx
mov ah, bl
mov byte [esp + 0x1b], ah
mov dword [esp + 0x14], ecx
mov byte [esp + 0x13], al
je 0x419f86
mov al, byte [esp + 0x1b]
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
test al, al
jne 0x419fa8
jmp 0x419f90
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x54], ecx
cmp dword [esp + 0x88], 0
jne 0x419fb4
mov eax, dword [0x41e004]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x4c], eax
mov eax, 0x3109
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x4c]
add edx, edx
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x4c]
xor edx, 0xffffffff
mov dword [esp + 0xd8], edx
cmp eax, ecx
ja 0x419e39
mov eax, dword [esp + 0xb8]
add eax, 0xffffb678
cmp dword [esp + 0x74], eax
jne 0x41a043
mov eax, dword [0x41e008]
mov cx, word [esp + 0x8e]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0x12f7
mov dword [esp + 0x80], eax
cmp cx, 0x6f7e
jbe 0x419e39
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x50], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret