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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x5279aa
sub esp, 0xe8
mov eax, 0
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov eax, dword [esp + 0xec]
mov dword [esp], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp + 4], ecx
call fcn.00526170
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], edx
test ebx, ebx
jne 0x527949
mov dword [esp + 0x5c], eax
lea ecx, [0x627318]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe0], eax
mov byte [esp + 0x2b], 1
lea edi, [esp + 0xac]
xor eax, eax
call fcn.0045e0a5
mov dword [esp + 0xac], 0x2c
mov ecx, dword [esp + 0xf0]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x24]
test edx, edx
jne 0x527940
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], 1
mov eax, 1
lea edx, [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], edx
lea ecx, [0x5d0da0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
mov ebx, edx
xor ebp, ebp
xor esi, esi
jmp 0x5271ae
mov eax, dword [esp + 0x48]
inc eax
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x30]
mov edx, ebp
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x6c]
cmp ebx, ebp
jle 0x527937
mov ebx, dword [ecx + ebp*4]
test ebx, ebx
je 0x5273ac
mov dword [esp + 0x48], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], esi
mov eax, dword [0x7829c4]
lea ecx, [0x5dc6a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0040e660
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
movzx edx, byte [esp + 0x10]
test dl, dl
je 0x52739b
test ecx, ecx
jbe 0x527996
mov edx, dword [esp + 0x2c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
ja 0x527359
mov ecx, dword [esp + 0x60]
mov esi, ebx
mov ebx, dword [0x7a0970]
lea edi, [ecx + edx*4]
test ebx, ebx
jne 0x52734f
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x34]
cmp edx, 1
jne 0x527197
mov edx, dword [0x77da64]
mov eax, dword [str.1.3.6.1.4.1.311.10.3.3]
test edx, edx
jbe 0x52798d
lea edx, [esi + 1]
cmp edx, ebp
ja 0x527307
mov ebx, dword [0x7a0970]
lea edi, [ecx + esi*4]
test ebx, ebx
jne 0x5272fd
mov dword [ecx + esi*4], eax
mov ebx, dword [0x77da74]
mov eax, dword [str.2.16.840.1.113730.4.1]
test ebx, ebx
jbe 0x527984
lea ebx, [edx + 1]
cmp ebp, ebx
jb 0x5272b8
mov esi, ebx
mov ebx, dword [0x7a0970]
lea edi, [ecx + edx*4]
test ebx, ebx
jne 0x5272ae
mov dword [ecx + edx*4], eax
jmp 0x527197
call fcn.0045de10
jmp 0x527197
mov dword [esp + 0x44], edx
mov dword [esp + 0x80], eax
lea eax, [0x5d0da0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00445150
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x44]
jmp 0x527297
call fcn.0045de10
jmp 0x52727c
mov dword [esp + 0x80], eax
mov dword [esp + 0x40], esi
lea eax, [0x5d0da0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00445150
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x40]
jmp 0x527268
call fcn.0045de10
jmp 0x52723c
mov dword [esp + 0x64], eax
lea eax, [0x5d0da0]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00445150
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
jmp 0x527226
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x60]
jmp 0x52723c
xor eax, eax
xor ecx, ecx
test ecx, ecx
je 0x527911
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], eax
test eax, eax
jbe 0x52797b
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xf0]
lea esi, [ecx + 0x10]
mov dword [esp + 0x7c], esi
lea edi, [esp + 0x84]
call fcn.0045e58e
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
test edx, 0x80000000
je 0x5278fe
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or edx, ecx
mov ecx, ebx
shl ebx, 1
mov ebp, edx
shl edx, 1
shr ebx, 0x1f
or ebx, edx
mov edx, ebx
add ebx, 0xd7b17f80
shr ebp, 0x1f
add edx, 0xd7b17f80
adc ebp, 0xd
test ebx, ebx
sete dl
test ebp, ebp
sete bl
and ebx, edx
test bl, bl
je 0x5278f7
test ecx, 0x3fffffff
sete cl
xor ecx, 1
test cl, cl
je 0x5278f0
lea edi, [esp + 0x98]
mov esi, dword [esp + 0x7c]
call fcn.0045e58e
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
test edx, 0x80000000
je 0x5278dd
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or edx, ecx
mov ecx, ebx
shl ebx, 1
mov ebp, edx
shl edx, 1
shr ebx, 0x1f
or ebx, edx
mov edx, ebx
add ebx, 0xd7b17f80
shr ebp, 0x1f
add edx, 0xd7b17f80
adc ebp, 0xd
mov eax, 0x3b9aca00
mul ebx
and ecx, 0x3fffffff
mov ebx, eax
add eax, ecx
mov esi, eax
add eax, 0x3d1a0000
imul ebp, ebp, 0x3b9aca00
add edx, ebp
mov ebp, ecx
sar ecx, 0x1f
add ebx, ebp
adc edx, ecx
add esi, 0x3d1a0000
adc edx, 0xa1b203eb
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x64
call fcn.004556c0
mov ecx, dword [esp + 0x10]
add ecx, 0xd53e8000
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
adc edx, 0x19db1de
mov dword [esp + 0x50], edx
lea eax, [esp + 0x4c]
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x10]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [esp + 0xac]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], eax
call fcn.0048cd20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], ecx
test edx, edx
jne 0x5278a1
lea eax, [0x627314]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xd8], eax
mov byte [esp + 0x2b], 3
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xec]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 8], eax
call fcn.00526c30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x78], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x54], esi
test eax, eax
je 0x5277d3
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x14]
test edx, edx
jbe 0x527725
mov eax, dword [eax + 0x18]
test byte [eax], al
cmp edx, 0x100000
ja 0x527971
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], eax
xor ecx, ecx
jmp 0x52763a
mov ebx, dword [esp + 0x48]
lea ecx, [ebx + 1]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x54]
cmp edx, ecx
jle 0x527725
mov dword [esp + 0x48], ecx
mov edx, dword [eax + ecx*4]
mov ebx, dword [esp + 0xec]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 8], edx
call fcn.00526c30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x527623
mov ebp, dword [esp + 0xf8]
lea esi, [ebp + 1]
mov eax, ecx
mov ecx, dword [esp + 0xf4]
mov edi, ebx
mov ebx, dword [esp + 0xfc]
cmp ebx, esi
jb 0x5276d0
lea ebx, [ebp + 1]
mov dword [esp + 0xf8], ebx
lea ebx, [ebp + ebp*2]
mov dword [ecx + ebx*4 + 4], edx
mov dword [ecx + ebx*4 + 8], edi
mov edx, dword [0x7a0970]
lea edi, [ecx + ebx*4]
test edx, edx
jne 0x5276c6
mov dword [ecx + ebx*4], eax
jmp 0x527623
call fcn.0045de10
jmp 0x527623
mov dword [esp + 0x74], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edx
lea eax, [0x5d14e0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00445150
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf4], ecx
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
jmp 0x52769b
mov eax, dword [esp + 0xf8]
test eax, eax
jne 0x52778e
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], ebp
mov dword [esp + 0x104], esi
mov byte [esp + 0x2b], 1
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
call fcn.0048cba0
mov byte [esp + 0x2b], 0
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.0048cc30
add esp, 0xe8
ret
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov byte [esp + 0x2b], 1
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
call fcn.0048cba0
mov byte [esp + 0x2b], 0
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.0048cc30
add esp, 0xe8
ret
mov dword [esp + 0x74], ecx
mov eax, esi
mov esi, dword [esp + 0xf8]
mov edi, ebp
lea ebp, [esi + 1]
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0xfc]
cmp ecx, ebp
jb 0x527848
mov ecx, dword [esp + 0x70]
lea ebp, [esi + 1]
mov dword [esp + 0xf8], ebp
lea ebp, [esi + esi*2]
mov dword [ecx + ebp*4 + 4], edx
mov dword [ecx + ebp*4 + 8], ebx
mov esi, dword [0x7a0970]
mov edx, ecx
lea ecx, [ecx + ebp*4]
test esi, esi
jne 0x527833
mov ecx, dword [esp + 0x74]
mov dword [edx + ebp*4], ecx
mov ebp, edi
mov esi, eax
jmp 0x5275f7
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, dword [esp + 0x74]
call fcn.0045de10
mov eax, ebx
mov edi, edx
jmp 0x52782a
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebx
lea eax, [0x5d14e0]
mov dword [esp], eax
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00445150
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf4], ecx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x78]
jmp 0x5277ff
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov byte [esp + 0x2b], 0
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.0048cc30
add esp, 0xe8
ret
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
jmp 0x5274b3
xor eax, eax
jmp 0x527524
xor ecx, ecx
jmp 0x527454
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x527437
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
jmp 0x5273d9
mov ecx, eax
mov eax, esi
jmp 0x5273b0
mov eax, edx
mov edx, ebx
jmp 0x527161
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
add esp, 0xe8
ret
mov ebx, 0x100000
call fcn.0045df20
mov ecx, eax
xor eax, eax
call fcn.0045de90
xor eax, eax
mov ecx, ebx
call fcn.0045de90
xor eax, eax
mov ecx, edx
call fcn.0045de90
xor eax, eax
call fcn.0045de90
nop
call fcn.00430cc0
add esp, 0xe8
ret
call fcn.0045c8b0
jmp fcn.00527040