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

Disassembly:
mov eax, 0xc4
call fcn.0040c780
mov eax, dword [0x4aa024]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
push ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xec]
push ebp
mov ebp, dword [esp + 0xec]
push esi
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x60], eax
xor eax, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x100]
mov edi, esi
lea eax, [esp + 0x78]
shr edi, 3
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x70], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x74], edi
mov dword [esp + 0x24], 2
call fcn.00421c60
add esp, 4
test ebx, ebx
jne 0x439684
cmp esi, 0xa0
jne 0x439664
call fcn.00422260
mov ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x439684
cmp esi, 0xe0
jne 0x439679
call fcn.004222c0
mov ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x439684
call fcn.004222d0
mov ebx, eax
mov dword [esp + 0x24], eax
push ebx
call fcn.00423570
mov ecx, dword [esp + 0x3c]
add esp, 4
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x40], eax
je 0x4396ab
cmp dword [ecx + 0x10], 0
je 0x4396ab
cmp dword [esp + 0xf0], 0
jl 0x43971d
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x4396b9
mov esi, eax
mov dword [esp + 0x14], esi
push 0x1bb
push 0x497cfc
push esi
call fcn.00415fc0
add esp, 0xc
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebp, ebp
je 0x4396dc
mov dword [esp + 0x28], ebp
jmp 0x4396f3
push 0x1c0
push 0x497cfc
push esi
call fcn.00415fc0
add esp, 0xc
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x439e6d
cmp dword [esp + 0x28], 0
je 0x439e5c
mov eax, dword [esp + 0x58]
test eax, eax
je 0x43971d
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.00408200
add esp, 0xc
call fcn.00412670
mov dword [esp + 0x18], eax
test eax, eax
je 0x439e5c
call fcn.00418470
mov dword [esp + 0x34], eax
test eax, eax
je 0x439e5c
mov esi, dword [esp + 0x18]
push esi
call fcn.00412700
push esi
call fcn.00412790
mov ebp, eax
push esi
mov dword [esp + 0x50], ebp
call fcn.00412790
push esi
mov dword [esp + 0x58], eax
call fcn.00412790
push esi
mov dword [esp + 0x64], eax
call fcn.00412790
push esi
mov dword [esp + 0x80], eax
call fcn.00412790
push esi
mov dword [esp + 0x7c], eax
call fcn.00412790
mov edx, dword [esp + 0x54]
mov ebx, eax
mov eax, dword [edx + 0xc]
add esp, 0x1c
mov dword [esp + 0x4c], ebx
test eax, eax
je 0x4397d4
mov ecx, edx
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x4397d4
mov ebx, dword [esp + 0xf0]
mov esi, eax
mov dword [esp + 0x2c], ecx
test ebx, ebx
js 0x439bb0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call fcn.00408200
add esp, 0xc
jmp 0x439bb0
push esi
call fcn.00412790
push esi
mov dword [esp + 0x7c], eax
call fcn.00412790
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xe4]
dec eax
add esp, 8
push eax
call fcn.0040d9f0
push eax
push ebx
call fcn.004119c0
add esp, 0xc
test eax, eax
je 0x439e5c
jmp 0x439810
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push edx
push 0
push eax
call fcn.0041bdb0
inc dword [esp + 0x60]
add esp, 0xc
test eax, eax
je 0x439e5c
test ebp, ebp
jne 0x439856
mov ecx, dword [esp + 0x10]
push esi
push ecx
call fcn.0041f430
add esp, 8
test eax, eax
js 0x439e5c
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push 0
push edx
push 0
lea eax, [esp + 0x9c]
push eax
push esi
push ecx
call fcn.00422130
add esp, 0x18
test eax, eax
je 0x439e5c
cmp ebx, edi
jle 0x43988e
mov edx, ebx
sub edx, edi
lea esi, [esp + edx + 0x90]
jmp 0x439895
lea esi, [esp + 0x90]
cmp ebx, edi
jge 0x4398b0
mov eax, edi
sub eax, ebx
push eax
lea ecx, [esp + ebx + 0x94]
push 0
push ecx
call fcn.004077c0
add esp, 0xc
mov edx, dword [esp + 0x2c]
or byte [esi], 0x80
or byte [esi + edi - 1], 1
push edx
push edi
push esi
call fcn.0040dde0
add esp, 0xc
test eax, eax
je 0x439e5c
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
xor eax, eax
test ebp, ebp
setne al
push esi
push eax
push ecx
push 0x32
push edx
call fcn.0041c210
add esp, 0x14
test eax, eax
jg 0x439927
jne 0x439e5c
test ebp, ebp
je 0x439818
push 0x20d
push 0x497cfc
push 0x71
push 0x7e
push 0xa
mov dword [esp + 0x44], 0
call fcn.00417080
add esp, 0x14
jmp 0x439e5c
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x439942
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
call fcn.00408200
add esp, 0xc
push 0
push 2
push esi
call fcn.0041bdb0
add esp, 0xc
test eax, eax
je 0x439e5c
push 0
mov eax, esi
push 3
push eax
call fcn.0041bdb0
add esp, 0xc
test eax, eax
je 0x439e5c
mov eax, dword [esp + 0xdc]
lea esi, [ebx*8]
xor ecx, ecx
dec eax
xor edx, edx
div esi
mov dword [esp + 0x3c], ecx
mov ebx, eax
lea esp, [esp]
test ecx, ecx
je 0x4399ac
push ecx
mov ecx, dword [esp + 0x20]
push 0
push ecx
call fcn.0041bdb0
add esp, 0xc
test eax, eax
je 0x439e5c
mov edx, dword [esp + 0x50]
push 0
push edx
call fcn.0040dd80
add esp, 8
xor esi, esi
test ebx, ebx
js 0x439a7c
mov ebp, dword [esp + 0x14]
xor edi, edi
jmp 0x4399d0
lea eax, [ebp - 1]
test eax, eax
js 0x4399e8
mov ecx, dword [esp + 0x10]
jmp 0x4399e0
inc byte [eax + ecx]
jne 0x4399e8
dec eax
jns 0x4399e0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push eax
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x9c]
push ecx
push edx
push eax
call fcn.00422130
add esp, 0x18
test eax, eax
je 0x439e5c
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x98]
push eax
call fcn.0040dde0
add esp, 0xc
test eax, eax
je 0x439e5c
mov eax, dword [esp + 0x44]
push edi
push eax
push eax
call fcn.004119c0
add esp, 0xc
test eax, eax
je 0x439e5c
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
push ecx
push eax
push eax
call fcn.00410860
add esp, 0xc
test eax, eax
je 0x439e5c
mov eax, dword [esp + 0x40]
add eax, eax
add eax, eax
add eax, eax
inc esi
add edi, eax
cmp esi, ebx
jle 0x4399d0
mov eax, dword [esp + 0xdc]
mov esi, dword [esp + 0x50]
dec eax
push eax
push esi
call fcn.0040e0f0
add esp, 8
test eax, eax
je 0x439e5c
push esi
mov esi, dword [esp + 0x6c]
push esi
call fcn.0040dcc0
add esp, 8
test eax, eax
je 0x439e5c
mov edx, dword [esp + 0x4c]
push edx
push esi
push esi
call fcn.00410860
add esp, 0xc
test eax, eax
je 0x439e5c
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x44]
push eax
push ebp
call fcn.00411870
add esp, 8
test eax, eax
je 0x439e5c
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x60]
push ecx
push ebp
push esi
push edi
push 0
call fcn.00411c80
add esp, 0x14
test eax, eax
je 0x439e5c
call fcn.0040d9f0
push eax
push edi
push ebp
call fcn.00410790
add esp, 0xc
test eax, eax
je 0x439e5c
push ebp
push esi
mov esi, dword [esp + 0x7c]
push esi
call fcn.00410790
add esp, 0xc
test eax, eax
je 0x439e5c
mov edx, dword [esp + 0x4c]
push edx
push esi
call fcn.0040df90
add esp, 8
test eax, eax
js 0x439b61
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edi
push 1
push eax
push 0x32
push esi
call fcn.0041c210
add esp, 0x14
test eax, eax
jg 0x439b94
jne 0x439e5c
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xdc]
inc ecx
lea eax, [edx*4]
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jl 0x439990
cmp dword [esp + 0x58], 0
jne 0x439e1e
mov edi, dword [esp + 0x70]
jmp 0x439810
push 1
push 2
push edi
call fcn.0041bdb0
add esp, 0xc
test eax, eax
je 0x439e5c
mov ebx, dword [esp + 0xf0]
call fcn.0040d9f0
mov edi, dword [esp + 0x4c]
push eax
push esi
push edi
call fcn.00410790
add esp, 0xc
test eax, eax
je 0x439e5c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push edi
push 0
push ebp
call fcn.00411c80
add esp, 0x14
test eax, eax
je 0x439e5c
test ebx, ebx
jns 0x439c03
push 2
push edi
call fcn.0040dd80
add esp, 8
test eax, eax
je 0x439e5c
jmp 0x439c0b
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push eax
push esi
push ecx
call fcn.004180d0
add esp, 0xc
test eax, eax
je 0x439e5c
test ebx, ebx
js 0x439d0b
mov eax, dword [esp + 0x20]
mov edx, eax
mov byte [esp + 0x92], al
mov eax, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x80]
shr edx, 8
push ecx
mov byte [esp + 0x9c], bl
mov byte [esp + 0x9d], dl
call fcn.00421cb0
add esp, 0xc
test eax, eax
je 0x439e5c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00421e60
add esp, 0xc
test eax, eax
je 0x439e5c
push 4
lea edx, [esp + 0x7c]
push str.ggen.cryptodsadsa_gen.c
push edx
call fcn.00421e60
add esp, 0xc
test eax, eax
je 0x439e5c
push 3
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00421e60
add esp, 0xc
test eax, eax
je 0x439e5c
push 0
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.00421e70
add esp, 0xc
test eax, eax
je 0x439e5c
mov ecx, dword [esp + 0x40]
push edi
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.0040dde0
add esp, 0xc
test eax, eax
je 0x439e5c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
push eax
push ecx
push esi
push ebp
push edi
push edx
call fcn.0040f370
add esp, 0x18
test eax, eax
je 0x439e5c
mov eax, dword [esp + 0x48]
cmp dword [eax + 4], 1
jne 0x439d7b
mov ecx, dword [eax]
cmp dword [ecx], 1
jne 0x439d7b
cmp dword [eax + 0xc], 0
jne 0x439d7b
test ebx, ebx
jns 0x439d60
call fcn.0040d9f0
push eax
push edi
push edi
call fcn.00410860
add esp, 0xc
test eax, eax
je 0x439e5c
inc dword [esp + 0x20]
test ebx, ebx
js 0x439d0b
cmp dword [esp + 0x20], 0xffff
jbe 0x439c26
jmp 0x439e5c
mov edx, dword [esp + 0x1c]
push 1
push 3
push edx
call fcn.0041bdb0
add esp, 0xc
test eax, eax
je 0x439e5c
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x30], 1
cmp esi, eax
je 0x439dc0
test eax, eax
je 0x439db4
push eax
call fcn.0040dae0
add esp, 4
push esi
call fcn.0040e410
add esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x2c]
cmp esi, eax
je 0x439de4
test eax, eax
je 0x439dd8
push eax
call fcn.0040dae0
add esp, 4
push esi
call fcn.0040e410
add esp, 4
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x439df4
push eax
call fcn.0040dae0
add esp, 4
mov eax, dword [esp + 0x48]
push eax
call fcn.0040e410
add esp, 4
cmp dword [edi + 0xc], 0
mov dword [edi + 0x14], eax
je 0x439e14
cmp dword [edi + 0x10], 0
je 0x439e14
test eax, eax
jne 0x439e40
mov dword [esp + 0x30], 0xffffffff
jmp 0x439e5c
push 0x266
push 0x497cfc
push 0x70
push 0x7e
push 0xa
mov dword [esp + 0x44], 0
call fcn.00417080
add esp, 0x14
jmp 0x439e5c
mov eax, dword [esp + 0x64]
test eax, eax
je 0x439e4e
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x439e5c
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x439e6d
push eax
call fcn.00416170
add esp, 4
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x5c], eax
je 0x439e80
push eax
call fcn.00416170
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x439e97
push esi
call fcn.00412750
push esi
call fcn.004126d0
add esp, 8
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x439eac
push eax
call fcn.00418090
add esp, 4
lea eax, [esp + 0x68]
push eax
call fcn.00421ef0
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x24]
add esp, 4
xor ecx, esp
call fcn.00402de3
add esp, 0xc4
ret