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

Disassembly:
pop ebx
push edi
add edi, 0x3cb
and edi, 0xcf47
pop edi
push ecx
add ecx, 0x9357
xor ecx, 0xf72d
pop ecx
mov edx, dword [ebp - 0x458]
mov dword [ebp - 0x90], edx
jmp 0x40cc6c
cmp dword [ebp - 0x90], 0
je 0x40cd15
push ecx
push ebx
add esp, 4
xor ecx, 0x3e37
and ecx, 0x4b09
jmp 0x40cc8f
pop ecx
push ecx
push edx
add esp, 4
jmp 0x40cc9e
or ecx, 0x12fa6
xor ecx, 0xb24d
pop ecx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x460], edx
lea eax, [ebp - 0x2b0]
push eax
call dword [ebp - 0x460]
test eax, eax
jne 0x40cd15
push ebx
push edx
add esp, 4
xor ebx, 0x1789a
call 0x40ccee
add byte [ebx + 0x33], al
inc esi
inc esp
inc edx
inc esi
inc edx
xor eax, 0x4c4834c
pop ebx
push ecx
push eax
add esp, 4
add ecx, 0x1df5
pop ecx
push edx
sub edx, 0x10c2d
pop edx
mov dword [ebp - 0x1b8], 0
jmp fcn.0040d7bc
push edx
push edx
add esp, 4
xor edx, 0x8f00
or edx, 0x400f
pop edx
push ebx
push edi
add esp, 4
jmp 0x40cd33
call 0x40cd43
add byte [esi], dh
cmp al, byte [esi + ecx*2 + 0x40]
inc esp
inc ecx
inc esi
xor ecx, dword [edi - 0x7d]
les eax, [ebx + ebx*2]
push edx
push edx
add esp, 4
add edx, 0x125a0
xor edx, 0x125a0
xor edx, 0xa05b
pop edx
push edi
xor edi, 0x13ade
and edi, 0x60bd
pop edi
push ebx
push ecx
add esp, 4
or ebx, 0xbeb3
pop ebx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x464], ecx
push eax
add eax, 0x17e7d
sub eax, 0x102e1
call 0x40cda0
add byte [ebx + 0x35], cl
inc eax
cmp dword [ebp + 0x36], ecx
dec edi
add esp, 4
pop eax
push edi
xor edi, 0xa0b6
sub edi, 0x4cf9
or edi, 0xc008
pop edi
mov edx, dword [ebp - 0x464]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x468], eax
push eax
xor eax, 0x3ff6
sub eax, 0x15852
pop eax
push ebx
sub ebx, 0x139f2
pop ebx
push eax
add eax, 0x177df
add eax, 0x1634b
or eax, 0xf075
pop eax
push edx
and edx, 0xa547
pop edx
mov ecx, dword [ebp - 0x468]
mov dword [ebp - 0x350], ecx
cmp dword [ebp - 0x350], 0
jne 0x40ce4c
push edx
call 0x40ce1e
add byte [ebx], bh
cmp eax, 0x4e4c353f
dec esp
cmp cl, byte [esi - 0x7d]
les eax, [eax + ebp*8]
or byte [eax], al
add byte [eax], al
add byte [eax + edx*2 + 0x4e], al
cmp ecx, dword [edi + 0x44]
inc ebp
add esp, 4
pop edx
push ebx
or ebx, 0x14b20
and ebx, 0xca58
pop ebx
mov dword [ebp - 0x74], 0
jmp 0x40d1d8
push ebx
xor ebx, 0x15d0e
call 0x40ce61
add byte [0x3f464f4d], dh
inc ebx
inc eax
add esp, 4
jmp 0x40ce6b
pop ebx
push ebx
push ecx
add esp, 4
add ebx, 0xa18c
sub ebx, 0xbee1
pop ebx
mov edx, dword [ebp - 0x350]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x280], ecx
cmp dword [ebp - 0x280], 0
jne 0x40ced7
push edx
push esi
add esp, 4
and edx, 0x1c7d
call 0x40ceb1
add byte [eax + 0x38], dl
dec esp
dec edi
push eax
dec edi
cmp byte [ebx + 0x9e804c4], al
add byte [eax], al
add byte [eax], al
inc esi
dec edi
cmp dword [ecx + ecx*2], esi
xor esi, dword [ebx]
push eax
add esp, 4
jmp 0x40ceca
pop edx
mov dword [ebp - 0x74], 0
jmp 0x40d1d8
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0xb4], edx
push edx
push esi
add esp, 4
xor edx, 0x1378
or edx, 0xe06f
pop edx
push edi
push esi
add esp, 4
sub edi, 0x3f6d
pop edi
push ecx
add ecx, 0x7bfb
pop ecx
push ecx
push ebx
add esp, 4
add ecx, 0x151b
pop ecx
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x278], edx
push edi
add edi, 0xdfff
and edi, 0x160f
or edi, 0xf26e
pop edi
push esi
push edx
add esp, 4
call 0x40cf58
add byte [0x3c38374d], dh
cmp bh, byte [esi]
xor dl, byte [eax - 0x7d]
les eax, [ecx + eax*4]
mul byte [esi + esi*4]
add byte [esi + 0x33], bl
shl byte [esi - 0x77], 0x45
mov al, 0x33
leave
mov word [ebp - 0x28], cx
push ecx
push esi
add esp, 4
sub ecx, 0x380d
and ecx, 0x905f
add ecx, 0xf320
and ecx, 0x240f
pop ecx
push esi
sub esi, 0xb356
sub esi, 0x8250
sub esi, 0x171f1
pop esi
push edi
push edx
add esp, 4
sub edi, 0xc087
sub edi, 0xa728
pop edi
push esi
push edx
add esp, 4
sub esi, 0x3ead
and esi, 0x1536e
and esi, 0x1c37
pop esi
push ecx
or ecx, 0xd278
pop ecx
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x78], edx
push eax
or eax, 0x52cb
pop eax
push ebx
jmp 0x40d223
add ebx, 0x13e89
pop ebx
push eax
add eax, 0xdb82
xor eax, 0x11175
pop eax
push edx
sub edx, 0x18624
jmp 0x40d244
pop edx
mov dword [ebp - 0x108], 0
push eax
add eax, 0x15e7b
pop eax
push ebx
push eax
add esp, 4
add ebx, 0xbe7d
add ebx, 0xe940
pop ebx
push ecx
push ebx
add esp, 4
add ecx, 0x1329d
or ecx, 0x9537
or ecx, 0x14171
pop ecx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
jne 0x40d2d6
push ecx
call 0x40d2a3
add byte [esp + edi + 0x45], al
xor eax, 0x42463a42
xor al, byte [ebx - 0x3e7efb3c]
nop
jp 0x40d2ab
add byte [ecx + 0x53], bl
push ecx
add esp, 4
xor ebx, 0x4262
and ebx, 0xf6d9
add ebx, 0x2db6
pop ebx
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0xb8], ecx
jmp fcn.0040d7b0
mov edx, dword [ebp - 0x35c]
mov eax, dword [ebp - 0x78]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x360], eax
jne 0x40d2fb
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0xb8], ecx
jmp fcn.0040d7b0
push eax
push edx
add esp, 4
sub eax, 0xcd21
pop eax
push edx
push ebx
add esp, 4
or edx, 0x3158
pop edx
push edx
add edx, 0x5e1e
xor edx, 0x11811
add edx, 0x7f99
xor edx, 0x127c1
pop edx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x364], edx
cmp dword [ebp - 0x364], 0
jne 0x40d391
push edx
push edx
add esp, 4
jmp 0x40d35c
jmp 0x40d365
jmp 0x40d36b
pop edx
push ecx
push esi
add esp, 4
sub ecx, 0x14e9b
pop ecx
push ebx
xor ebx, 0x3eb0
pop ebx
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xb8], eax
jmp fcn.0040d7b0
push ecx
call 0x40d3a0
add byte [eax], bh
dec ebp
dec edi
cmp byte [edi], bh
push eax
inc eax
add esp, 4
or ecx, 0x1358d
call 0x40d3b9
add byte [ebx + 0x47], cl
inc eax
aaa
dec ebx
dec esp
dec esp
dec edi
push eax
add esp, 4
and ecx, 0x8068
pop ecx
mov ecx, dword [ebp - 0x78]
add ecx, dword [ebp - 0x364]
mov dword [ebp - 0xe4], ecx
jne 0x40d417
push eax
add eax, 0x3463
sub eax, 0xf2e5
and eax, 0x26ce
pop eax
push esi
push edx
add esp, 4
add esi, 0x17a5
pop esi
push edi
push ecx
add esp, 4
or edi, 0x3772
jmp fcn.0040d405
invalid
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x78]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x46c], ecx
push edx
sub edx, 0x2a36
pop edx
push edx
push edx
add esp, 4
and edx, 0x153ab
call 0x40d44b
add byte [ebp + 0x41], al
dec esi
dec eax
aas
push eax
xor eax, 0xc4834b32
add al, 0x81
ret 0xa4f3