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

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x30]
push edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x928]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x1c]
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0x20]
mov ecx, dword [edi]
mov dword [esp + 0x2c], edi
lea eax, [eax + ecx*4]
movzx ecx, byte [edi + 0xa]
xor edi, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0xc], ecx
mov dword [esi + 0xb8], 0
test ecx, ecx
je 0x43a080
push ebx
nop word [eax + eax]
mov eax, dword [eax + edi*4]
mov edx, eax
mov dword [esp + 0x24], eax
movzx ebx, ax
mov eax, dword [ebp + 0x10]
shr edx, 0x18
mov dword [esp + 0x14], edx
lea eax, [eax + ebx*8]
mov dword [esp + 0x20], eax
mov eax, ebx
and eax, 0x1f
mov dword [esp + 0x1c], eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
shl eax, cl
test dword [esp + 0x3c], eax
je 0x43994f
xor ecx, ecx
test edi, edi
je 0x43994f
nop dword [eax]
mov eax, dword [esp + 0x38]
mov edx, dword [eax + ecx*4]
movzx eax, dx
cmp eax, ebx
je 0x439935
inc ecx
cmp ecx, edi
jb 0x439920
jmp 0x43994b
shr edx, 0x18
mov ecx, dword [esi + edx*4 + 0x210]
and ecx, 0xffecffff
jne 0x4399eb
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
bts ecx, eax
mov dword [esp + 0x3c], ecx
cmp ebx, 0x8000
jae 0x43997d
push dword [esp + 0x20]
push esi
call fcn.0043a710
add esp, 8
jmp 0x4399e9
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx + 6]
and eax, 0xffffff80
cmp eax, 0x80
jne 0x43999b
mov dword [esp + 0x18], 1
mov ecx, edx
jmp 0x4399ef
cmp byte [ecx + 5], 0x47
mov ebx, 0x21
mov al, byte [ecx + 4]
jne 0x4399b3
movzx ebx, word [ecx + 2]
and ebx, 0x10
or ebx, 0x21
and al, 0x1f
mov word [esi + 0x78], dx
movzx eax, al
mov ecx, 0x4700
or ax, cx
mov word [esi + 0x7c], ax
mov eax, ebx
or eax, 0x40
test dword [esp + 0x24], 0x100000
movzx ecx, ax
movzx eax, bx
cmove ecx, eax
mov word [esi + 0x7a], cx
mov ecx, esi
call fcn.00452030
mov ecx, eax
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov eax, ebx
and eax, 0x130000
or eax, ecx
mov dword [esi + edx*4 + 0x210], eax
test ebx, 0x30000
je 0x439a16
test edx, edx
je 0x439a16
mov eax, 1
jmp 0x439a18
xor eax, eax
add dword [esi + 0xb8], eax
test ebx, 0x10000
je 0x439a2c
lea eax, [edx + 1]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x38]
inc edi
cmp edi, dword [esp + 0x10]
jb 0x4398e0
cmp dword [esp + 0x18], 0
je 0x43a07f
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], 0
movzx ecx, word [eax + 4]
mov eax, dword [ebp + 0x10]
lea eax, [eax + ecx*8]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
nop word [eax + eax]
mov edi, dword [edx + ecx*4]
mov eax, dword [ebp + 0x10]
movzx ecx, di
cmp byte [eax + ecx*8 + 6], 0xfd
lea ebx, [eax + ecx*8]
mov dword [esp + 0x2c], ecx
jne 0x439c20
shr edi, 0x18
cmp dword [esi + edi*4 + 0x210], edi
jne 0x439c5b
movzx eax, word [ebx]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], 1
cmp eax, dword [ebp + 0x14]
jb 0x439ac4
push eax
push edi
push dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.0043a5e0
mov edx, dword [esp + 0x50]
add esp, 0x18
movzx eax, word [ebx + 2]
cmp eax, dword [ebp + 0x14]
jb 0x439ade
push eax
push edi
push dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.0043a5e0
add esp, 0x18
cmp byte [ebx + 5], 0x54
jne 0x439b19
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [ebp + 8]
jae 0x439c57
cmp byte [ebx + 0xd], 0x10
jne 0x439c57
movzx eax, word [ebx + 0xa]
push eax
push edi
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.0043a5e0
add esp, 0x18
jmp 0x439c57
mov edx, dword [esp + 0x14]
lea edi, [ebx + 8]
cmp edi, edx
jae 0x439c57
nop dword [eax + eax]
cmp byte [edi + 6], 0xfe
jne 0x439bdb
mov al, byte [edi + 7]
cmp al, 0xff
je 0x439b4d
movzx eax, al
xor ecx, ecx
lea eax, [ebx + eax*8]
cmp eax, edi
jmp 0x439b8f
mov al, byte [edi + 5]
cmp al, 0x4a
je 0x439b64
cmp al, 0x4b
je 0x439b64
cmp al, 0x4d
je 0x439b64
cmp al, 0x4e
je 0x439b64
xor ecx, ecx
jmp 0x439b92
mov ecx, dword [ebp + 0x10]
movzx eax, word [edi]
mov dl, byte [ecx + eax*8 + 5]
lea eax, [ecx + eax*8]
cmp dl, 0x38
je 0x439b7b
cmp dl, 0x39
jne 0x439b81
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx eax, word [eax]
mov edx, dword [esp + 0x14]
lea eax, [ecx + eax*8]
xor ecx, ecx
cmp eax, ebx
sete cl
test ecx, ecx
je 0x439bdb
movzx eax, word [edi + 2]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.0043a5e0
add esp, 0x18
test eax, eax
jne 0x439be8
movzx ecx, word [edi + 2]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + ecx*8]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.0043a5e0
mov edx, dword [esp + 0x2c]
add esp, 0x18
add edi, 8
cmp edi, edx
jb 0x439b30
jmp 0x439c57
mov edx, dword [esp + 0x14]
lea eax, [edi + 8]
cmp eax, edx
jae 0x439bdb
cmp byte [edi + 0xd], 0x10
jne 0x439bdb
movzx eax, word [edi + 0xa]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.0043a5e0
mov edx, dword [esp + 0x2c]
add esp, 0x18
add edi, 8
jmp 0x439b30
cmp ecx, 0x8000
jb 0x439c5b
movzx eax, word [ebx + 6]
and eax, 0xffffff80
cmp eax, 0x80
jne 0x439c5b
movzx eax, word [ebx]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.0043a5e0
add esp, 0x18
shr edi, 0x18
mov dword [esi + edi*4 + 0x210], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, eax
jb 0x439a70
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x18], ecx
je 0x43a07f
cmp ecx, eax
jae 0x43a07f
mov ecx, dword [edx + ecx*4]
mov eax, dword [ebp + 0x10]
movzx ebx, cx
cmp byte [eax + ebx*8 + 6], 0xfd
lea edi, [eax + ebx*8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], edi
jne 0x43a06d
shr ecx, 0x18
lea ebx, [esi + 0x210]
mov eax, dword [ebx + ecx*4]
lea ebx, [ebx + ecx*4]
mov dword [esp + 0x24], ebx
cmp eax, ecx
je 0x439cd6
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + eax*4 + 0x210]
inc ecx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
jmp 0x439c80
movzx ebx, word [edi]
cmp ebx, dword [ebp + 0x14]
jb 0x439cf8
push ebx
push dword [esp + 0x40]
push dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.0043a5e0
mov edx, dword [esp + 0x50]
add esp, 0x18
mov ebx, eax
movzx edi, word [edi + 2]
cmp edi, dword [ebp + 0x14]
jb 0x439d17
push edi
push dword [esp + 0x40]
push dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.0043a5e0
add esp, 0x18
mov edi, eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 5], 0x54
jne 0x439db3
mov ecx, dword [esp + 0x28]
inc ecx
cmp ecx, dword [ebp + 8]
jae 0x439d78
cmp byte [eax + 0xd], 0x10
jne 0x439d78
mov byte [esi + 0x134], 1
movzx eax, word [eax + 0xa]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.0043a5e0
mov ecx, 0x1015
movzx eax, ax
add esp, 0x18
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], di
mov word [esi + 0x7a], ax
call fcn.00452030
mov edi, eax
mov eax, dword [esp + 0x1c]
mov ax, word [eax + 4]
mov ecx, 0xff9f
and ax, cx
mov word [esi + 0x78], bx
mov ecx, esi
mov word [esi + 0x7c], ax
mov word [esi + 0x7a], di
call fcn.0045ba20
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x2c], ecx
jmp 0x439c80
mov ax, word [eax + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov word [esi + 0x78], bx
mov word [esi + 0x7a], di
call fcn.0045ba20
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
lea ebx, [edi + 8]
cmp ebx, eax
jae 0x43a069
nop word [eax + eax]
cmp byte [ebx + 6], 0xfe
jne 0x43a03a
mov al, byte [ebx + 7]
cmp al, 0xff
je 0x439e0d
movzx eax, al
xor ecx, ecx
lea eax, [edi + eax*8]
cmp eax, ebx
jmp 0x439e4b
mov al, byte [ebx + 5]
cmp al, 0x4a
je 0x439e24
cmp al, 0x4b
je 0x439e24
cmp al, 0x4d
je 0x439e24
cmp al, 0x4e
je 0x439e24
xor ecx, ecx
jmp 0x439e4e
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebx]
mov dl, byte [ecx + eax*8 + 5]
lea eax, [ecx + eax*8]
cmp dl, 0x38
je 0x439e3b
cmp dl, 0x39
jne 0x439e41
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx eax, word [eax]
lea eax, [ecx + eax*8]
xor ecx, ecx
cmp eax, edi
sete cl
test ecx, ecx
je 0x43a036
movzx eax, word [ebx]
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + eax*8 + 2]
lea edi, [ecx + eax*8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov al, byte [edi + 5]
cmp al, 0x3e
je 0x439ee6
lea ecx, [ecx + edx*8]
cmp al, 0x39
jne 0x439e9e
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + eax*8]
push eax
push esi
call fcn.0043a710
add esp, 8
push eax
push esi
call fcn.004528a0
add esp, 0xc
jmp 0x439ea8
push ecx
push esi
call fcn.0043a710
add esp, 8
mov edx, eax
mov al, byte [edi + 5]
mov dword [esp + 0x24], edx
cmp al, 0x39
je 0x439eb9
cmp al, 0x38
jne 0x439ee6
movzx ecx, word [edi]
mov eax, dword [ebp + 0x10]
movzx edx, word [eax + ecx*8 + 2]
mov ax, word [eax + ecx*8 + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x20]
mov word [esi + 0x78], ax
mov word [esi + 0x7a], dx
call fcn.0045ba20
mov edx, dword [esp + 0x24]
jmp 0x439eea
mov eax, dword [esp + 0x28]
mov cx, word [edi + 4]
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], ax
mov word [esi + 0x7a], dx
call fcn.0045ba20
movzx ecx, word [ebx + 2]
push ecx
push dword [esp + 0x40]
mov dword [esp + 0x30], eax
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.0043a5e0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x439f80
movzx ecx, word [ebx + 2]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + ecx*8]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.0043a5e0
add esp, 0x18
mov dword [esi + 0x7a], 0x5b0e01d3
mov ecx, esi
mov word [esi + 0x78], ax
call fcn.0045ba20
mov edi, eax
mov ax, word [ebx + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x28]
mov word [esi + 0x78], ax
mov word [esi + 0x7a], di
call fcn.0045ba20
mov edi, dword [esp + 0x1c]
jmp 0x43a05a
lea eax, [ebx + 8]
cmp eax, dword [esp + 0x14]
jae 0x439f5c
cmp byte [ebx + 0xd], 0x10
jne 0x439f5c
mov byte [esi + 0x134], 1
mov edx, 0x8000
movzx ecx, word [ebx + 2]
cmp cx, dx
jae 0x439fcb
movzx eax, word [ebx + 0xa]
cmp ax, dx
jae 0x439fcb
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + eax*8]
cdq
xor edx, edx
add edx, dword [edi + ecx*8]
adc eax, 0
push eax
push edx
push 0x1d
push esi
call fcn.00452530
add esp, 0x10
jmp 0x43a001
movzx eax, word [ebx + 0xa]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.0043a5e0
mov ecx, 0x1015
movzx eax, ax
add esp, 0x18
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], di
mov word [esi + 0x7a], ax
call fcn.00452030
mov ecx, eax
movzx eax, byte [ebx + 5]
shl ax, 8
or ax, 0x15
mov word [esi + 0x7a], cx
mov word [esi + 0x7c], ax
mov ecx, esi
mov eax, dword [esp + 0x28]
mov word [esi + 0x78], ax
call fcn.0045ba20
mov edi, dword [esp + 0x1c]
add ebx, 8
mov eax, dword [esp + 0x14]
jmp 0x439df0
mov eax, dword [esp + 0x14]
cmp byte [ebx + 5], 0x5a
jne 0x43a05e
cmp byte [edi + 5], 0x53
jne 0x43a05e
xor eax, eax
mov dword [esi + 0x7a], 0x5a000000
mov ecx, esi
mov word [esi + 0x78], ax
call fcn.0045ba20
mov eax, dword [esp + 0x14]
add ebx, 8
cmp ebx, eax
jb 0x439df0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x2c], ecx
jmp 0x439c80
pop ebx
mov ecx, dword [esi + 0x70]
lea eax, [esi + 0x210]
push esi
lea eax, [eax + ecx*4]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + 8]
sub eax, ecx
mov dword [esi + 0x6c], eax
call fcn.004394e0
add esp, 4
cmp dword [esp + 0x14], 0
pop edi
je 0x43a0c6
xor eax, eax
mov dword [esi + 0x7a], 0xf800000
mov word [esi + 0x78], ax
mov ecx, esi
pop esi
pop ebp
add esp, 0x24
jmp fcn.00452030
pop esi
pop ebp
add esp, 0x24
ret