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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0xbc
call fcn.00525ec0
mov eax, dword [0x5af1b4]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
xor eax, eax
mov ebx, ecx
shr ebx, 3
push edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], 2
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
cmp esi, eax
jne 0x4c35c7
cmp ecx, 0xa0
jne 0x4c35b1
mov esi, 0x574308
jmp 0x4c35c3
mov esi, 0x574358
cmp ecx, 0xe0
je 0x4c35c3
mov esi, 0x5743b8
mov dword [esp + 0x30], esi
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
cmp dword [edx + 0xc], eax
je 0x4c35d8
cmp dword [edx + 0x10], eax
jne 0x4c361f
mov esi, dword [esp + 0x10]
push str..cryptodsadsa_gen.c
mov edi, 0x1c1
mov dword [esp + 0x2c], esi
call fcn.004746f0
add esp, 4
push str..cryptodsadsa_gen.c
mov edi, 0x1c6
mov dword [esp + 0x10], eax
call fcn.004746f0
add esp, 4
cmp dword [esp + 0xc], 0
mov dword [esp + 0x48], eax
je 0x4c3815
test eax, eax
je 0x4c37d9
call fcn.0046e820
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c37d9
call fcn.0049d120
mov dword [esp + 0x34], eax
test eax, eax
je 0x4c37d9
mov esi, dword [esp + 0x14]
call fcn.0046e960
call fcn.0046e9f0
mov dword [esp + 0x1c], eax
call fcn.0046e9f0
mov dword [esp + 0x3c], eax
call fcn.0046e9f0
mov dword [esp + 0x40], eax
call fcn.0046e9f0
mov dword [esp + 0x60], eax
call fcn.0046e9f0
mov dword [esp + 0x58], eax
call fcn.0046e9f0
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], edi
test eax, eax
je 0x4c369f
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x4c369f
mov ebx, eax
mov dword [esp + 0x24], ecx
jmp 0x4c3ab9
call fcn.0046e9f0
mov dword [esp + 0x64], eax
call fcn.0046e9f0
mov ecx, dword [ebp + 8]
push 0x5743a4
dec ecx
push edi
mov dword [esp + 0x2c], eax
call fcn.0049e4c0
add esp, 8
test eax, eax
je 0x4c37d9
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
test ecx, ecx
je 0x4c370c
mov eax, dword [ecx]
sub eax, 1
je 0x4c36f9
sub eax, 1
je 0x4c36eb
xor eax, eax
jmp 0x4c3711
mov edx, dword [ecx + 8]
push ecx
push edi
push 0
call edx
add esp, 0xc
jmp 0x4c3711
mov eax, dword [ecx + 8]
test eax, eax
je 0x4c370c
mov ecx, dword [ecx + 4]
push ecx
push edi
push 0
call eax
add esp, 0xc
mov eax, 1
inc edi
mov dword [esp + 0x38], edi
test eax, eax
je 0x4c37d9
mov edx, dword [esp + 0xc]
push esi
push edx
call fcn.0045ffb0
add esp, 8
test eax, eax
jl 0x4c37d9
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
push eax
push 0
lea ecx, [esp + 0x88]
push ecx
push esi
push edx
call fcn.00474180
add esp, 0x14
test eax, eax
je 0x4c37d9
cmp dword [esp + 0x10], ebx
jle 0x4c376e
mov esi, dword [esp + 0x10]
sub esi, ebx
lea esi, [esp + esi + 0x80]
jmp 0x4c3775
lea esi, [esp + 0x80]
cmp dword [esp + 0x10], ebx
jge 0x4c3796
mov eax, dword [esp + 0x10]
mov ecx, ebx
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x84]
push 0
push edx
call fcn.00516180
add esp, 0xc
or byte [esi], 0x80
mov ecx, dword [esp + 0x24]
or byte [esi + ebx - 1], 1
push esi
mov edx, ebx
call fcn.00465520
add esp, 4
test eax, eax
je 0x4c37d9
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push esi
push 0
push eax
push 0x32
call fcn.00492140
add esp, 0x10
test eax, eax
jg 0x4c386a
je 0x4c36cf
mov eax, dword [0x5be044]
cmp dword [esp + 0xc], 0
je 0x4c381a
test eax, eax
je 0x4c37f5
mov edx, dword [esp + 0xc]
push 0
push edx
call eax
add esp, 8
mov eax, dword [esp + 0xc]
push eax
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c381a
push 1
push 0
call eax
add esp, 8
mov eax, dword [0x5be044]
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4c384a
test eax, eax
je 0x4c382e
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c384a
push 1
push 0
call eax
add esp, 8
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4c4026
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4c3ffd
dec eax
mov dword [esi + 0x24], eax
jmp 0x4c4021
xor edx, edx
push esi
lea esi, [edx + 2]
call fcn.00491e20
add esp, 4
test eax, eax
je 0x4c37d9
mov ecx, dword [esp + 0x18]
xor edx, edx
push ecx
lea esi, [edx + 3]
call fcn.00491e20
add esp, 4
test eax, eax
je 0x4c37d9
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
add esi, esi
add esi, esi
xor ecx, ecx
add esi, esi
dec eax
xor edx, edx
div esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
test ecx, ecx
je 0x4c38d3
mov edx, dword [esp + 0x18]
push edx
mov edx, ecx
xor esi, esi
call fcn.00491e20
add esp, 4
test eax, eax
je 0x4c37d9
mov edi, dword [esp + 0x40]
push 0
call fcn.004654c0
xor esi, esi
add esp, 4
cmp dword [esp + 0x54], esi
jl 0x4c399e
mov ebx, dword [esp + 0x28]
dec ebx
xor edi, edi
mov eax, ebx
test eax, eax
jl 0x4c390b
mov ecx, dword [esp + 0xc]
mov edi, edi
add byte [eax + ecx], 1
jne 0x4c390b
sub eax, 1
jns 0x4c3900
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x88]
push ecx
push edx
push eax
call fcn.00474180
add esp, 0x14
test eax, eax
je 0x4c37d9
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00465520
add esp, 4
test eax, eax
je 0x4c37d9
mov eax, dword [esp + 0x1c]
push eax
push eax
mov ecx, edi
call fcn.0049e4c0
add esp, 8
test eax, eax
je 0x4c37d9
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
push edx
push eax
push eax
call fcn.00493220
add esp, 0xc
test eax, eax
je 0x4c37d9
mov eax, dword [esp + 0x10]
add eax, eax
add eax, eax
add eax, eax
inc esi
add edi, eax
cmp esi, dword [esp + 0x54]
jle 0x4c38f4
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x40]
dec ecx
call fcn.00465820
test eax, eax
je 0x4c37d9
mov edi, dword [esp + 0x60]
push esi
push edi
call fcn.00465410
add esp, 8
test eax, eax
je 0x4c37d9
mov eax, dword [esp + 0x20]
push eax
push edi
push edi
call fcn.00493220
add esp, 0xc
test eax, eax
je 0x4c37d9
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
push ebx
call fcn.0049e330
add esp, 4
test eax, eax
je 0x4c37d9
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x58]
push ecx
push ebx
push edi
push esi
push 0
call fcn.00492a30
add esp, 0x14
test eax, eax
je 0x4c37d9
push 0x5743a4
push esi
push ebx
call fcn.00493520
add esp, 0xc
test eax, eax
je 0x4c37d9
mov edx, ebx
mov ebx, dword [esp + 0x64]
push edx
push edi
push ebx
call fcn.00493520
add esp, 0xc
test eax, eax
je 0x4c37d9
mov ecx, dword [esp + 0x20]
mov edx, ebx
call fcn.004656d0
test eax, eax
jl 0x4c3a78
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push 1
push ecx
push 0x32
mov ecx, ebx
call fcn.00492140
add esp, 0x10
test eax, eax
jg 0x4c3a9c
jne 0x4c37d9
mov ecx, dword [esp + 0x50]
mov edx, dword [ebp + 8]
inc ecx
lea eax, [edx*4]
cmp ecx, eax
mov dword [esp + 0x50], ecx
jl 0x4c38b6
mov ebx, dword [esp + 0x5c]
jmp 0x4c36cb
mov ecx, dword [esp + 0x18]
mov edx, 1
push ecx
lea esi, [edx + 1]
call fcn.00491e20
add esp, 4
test eax, eax
je 0x4c37d9
mov edx, dword [esp + 0x20]
push 0x5743a4
push ebx
push edx
call fcn.00493520
add esp, 0xc
test eax, eax
je 0x4c37d9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push 0
push eax
call fcn.00492a30
add esp, 0x14
test eax, eax
je 0x4c37d9
mov edi, dword [esp + 0x20]
push 2
call fcn.004654c0
add esp, 4
test eax, eax
je 0x4c37d9
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
push ecx
push ebx
push edx
call fcn.0049d240
add esp, 0xc
test eax, eax
je 0x4c37d9
jmp 0x4c3b30
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x44]
push ebx
push edx
push eax
push ecx
call fcn.0046f170
add esp, 0x18
test eax, eax
je 0x4c37d9
mov eax, dword [esp + 0x3c]
cmp dword [eax + 4], 1
jne 0x4c3b92
mov edx, dword [eax]
cmp dword [edx], 1
jne 0x4c3b92
cmp dword [eax + 0xc], 0
jne 0x4c3b92
mov eax, dword [esp + 0x20]
push 0x5743a4
push eax
push eax
call fcn.00493220
add esp, 0xc
test eax, eax
je 0x4c37d9
inc dword [esp + 0x4c]
jmp 0x4c3b30
mov eax, dword [esp + 0x18]
mov edx, 1
push eax
lea esi, [edx + 2]
call fcn.00491e20
add esp, 4
test eax, eax
je 0x4c37d9
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x44], 1
mov edi, edi
cmp ebx, esi
je 0x4c3d24
test esi, esi
je 0x4c3c3a
mov edi, dword [esi]
test edi, edi
je 0x4c3c05
test byte [esi + 0x10], 2
jne 0x4c3c05
mov eax, dword [0x5be044]
test eax, eax
je 0x4c3be9
push 0
push edi
call eax
add esp, 8
push edi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3c0a
push 1
push 0
call eax
add esp, 8
mov eax, dword [0x5be044]
mov ecx, dword [esi + 0x10]
test cl, 1
je 0x4c3c51
test eax, eax
je 0x4c3c1e
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3c3f
push 1
push 0
call eax
add esp, 8
mov eax, dword [0x5be044]
test ebx, ebx
jne 0x4c3c62
mov ecx, dword [esp + 0x2c]
xor esi, esi
mov dword [ecx + 0xc], esi
jmp 0x4c3d29
or ecx, 0x8000
mov dword [esi + 0x10], ecx
mov dword [esi], 0
jmp 0x4c3c3f
call fcn.00465200
mov esi, eax
test esi, esi
jne 0x4c3c7e
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x5be044]
mov dword [ecx + 0xc], esi
jmp 0x4c3d29
push ebx
push esi
call fcn.00465410
add esp, 8
test eax, eax
jne 0x4c3c6d
mov edi, dword [esi]
test edi, edi
je 0x4c3cc5
test byte [esi + 0x10], 2
jne 0x4c3cc5
mov eax, dword [0x5be044]
test eax, eax
je 0x4c3ca9
push 0
push edi
call eax
add esp, 8
push edi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3cca
push 1
push 0
call eax
add esp, 8
mov eax, dword [0x5be044]
mov ecx, dword [esi + 0x10]
test cl, 1
je 0x4c3d0a
test eax, eax
je 0x4c3cde
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3d19
push 1
push 0
call eax
mov ecx, dword [esp + 0x34]
mov eax, dword [0x5be044]
add esp, 8
xor esi, esi
mov dword [ecx + 0xc], esi
jmp 0x4c3d29
or ecx, 0x8000
mov dword [esi + 0x10], ecx
mov dword [esi], 0
mov ecx, dword [esp + 0x2c]
xor esi, esi
mov dword [ecx + 0xc], esi
jmp 0x4c3d29
mov eax, dword [0x5be044]
mov esi, dword [ecx + 0x10]
cmp dword [esp + 0x24], esi
je 0x4c3de4
test esi, esi
je 0x4c3dbd
mov edi, dword [esi]
test edi, edi
je 0x4c3d77
test byte [esi + 0x10], 2
jne 0x4c3d77
test eax, eax
je 0x4c3d56
push 0
push edi
call eax
add esp, 8
push edi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3d77
push 1
push 0
call eax
mov eax, dword [0x5be044]
add esp, 8
mov ecx, dword [esi + 0x10]
test cl, 1
je 0x4c3dae
test eax, eax
je 0x4c3d8b
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3dbd
push 1
push 0
call eax
mov eax, dword [0x5be044]
add esp, 8
jmp 0x4c3dbd
or ecx, 0x8000
mov dword [esi + 0x10], ecx
mov dword [esi], 0
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x4c3dc9
xor esi, esi
jmp 0x4c3ddd
call fcn.00465200
mov esi, eax
test esi, esi
jne 0x4c3e6a
mov eax, dword [0x5be044]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x10], esi
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x4c3f1b
mov edi, dword [esi]
test edi, edi
je 0x4c3e28
test byte [esi + 0x10], 2
jne 0x4c3e28
test eax, eax
je 0x4c3e07
push 0
push edi
call eax
add esp, 8
push edi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3e28
push 1
push 0
call eax
mov eax, dword [0x5be044]
add esp, 8
mov ecx, dword [esi + 0x10]
test cl, 1
je 0x4c3f0c
test eax, eax
je 0x4c3e40
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3f1b
push 1
push 0
call eax
mov eax, dword [0x5be044]
add esp, 8
jmp 0x4c3f1b
push edi
push esi
call fcn.00465410
add esp, 8
test eax, eax
jne 0x4c3dd8
mov edi, dword [esi]
test edi, edi
je 0x4c3eb5
test byte [esi + 0x10], 2
jne 0x4c3eb5
mov eax, dword [0x5be044]
test eax, eax
je 0x4c3e99
push 0
push edi
call eax
add esp, 8
push edi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3eba
push 1
push 0
call eax
add esp, 8
mov eax, dword [0x5be044]
mov ecx, dword [esi + 0x10]
test cl, 1
je 0x4c3ef6
test eax, eax
je 0x4c3ece
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3f05
push 1
push 0
call eax
mov eax, dword [0x5be044]
add esp, 8
xor esi, esi
jmp 0x4c3ddd
or ecx, 0x8000
mov dword [esi + 0x10], ecx
mov dword [esi], 0
xor esi, esi
jmp 0x4c3ddd
or ecx, 0x8000
mov dword [esi + 0x10], ecx
mov dword [esi], 0
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4c3f27
xor esi, esi
jmp 0x4c3f37
call fcn.00465200
mov esi, eax
test esi, esi
jne 0x4c3f5f
mov eax, dword [0x5be044]
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0xc], 0
mov dword [ecx + 0x14], esi
je 0x4c3f52
cmp dword [ecx + 0x10], 0
je 0x4c3f52
test esi, esi
jne 0x4c37de
mov dword [esp + 0x44], 0xffffffff
jmp 0x4c37de
push edi
push esi
call fcn.00465410
add esp, 8
test eax, eax
jne 0x4c3f32
mov edi, dword [esi]
test edi, edi
je 0x4c3fa6
test byte [esi + 0x10], 2
jne 0x4c3fa6
mov eax, dword [0x5be044]
test eax, eax
je 0x4c3f8a
push 0
push edi
call eax
add esp, 8
push edi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3fab
push 1
push 0
call eax
add esp, 8
mov eax, dword [0x5be044]
mov ecx, dword [esi + 0x10]
test cl, 1
je 0x4c3fe7
test eax, eax
je 0x4c3fbf
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c3ff6
push 1
push 0
call eax
mov eax, dword [0x5be044]
add esp, 8
xor esi, esi
jmp 0x4c3f37
or ecx, 0x8000
mov dword [esi + 0x10], ecx
mov dword [esi], 0
xor esi, esi
jmp 0x4c3f37
dec dword [esi + 0x18]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edi, dword [ecx + eax*4]
mov edx, dword [esi + 0x20]
cmp edi, edx
jae 0x4c4017
sub edx, edi
call fcn.0046ec60
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], 0
call fcn.0046e8e0
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4c4079
lea edi, [esi + 4]
call fcn.004651a0
lea edi, [esi + 0x18]
call fcn.004651a0
lea edi, [esi + 0x2c]
call fcn.004651a0
test byte [esi + 0x48], 1
je 0x4c4079
mov eax, dword [0x5be044]
test eax, eax
je 0x4c405d
push 0
push esi
call eax
add esp, 8
push esi
call dword [0x5b65dc]
mov eax, dword [0x5be044]
add esp, 4
test eax, eax
je 0x4c4079
push 1
push 0
call eax
add esp, 8
lea edi, [esp + 0x68]
call fcn.00474260
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00511c1b
mov esp, ebp
pop ebp
ret