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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4104c9
sub esp, 0x84
mov ecx, dword [esp + 0x88]
xor ebx, ebx
mov ebx, dword [0x6c2520]
mov ebp, ecx
sub ebp, ebx
mov ebx, dword [0x6c2520]
sub ecx, ebx
shr ecx, 2
xor ebx, ebx
mov esi, dword [0x6c2518]
mov ebp, ecx
shr ebp, 2
sub esi, ebp
dec esi
and ecx, 3
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], ecx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x14]
mov dword [esp + 0x50], ebp
mov ebx, dword [esp + 0x8c]
cmp ebx, 8
jne 0x40fe1c
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
cmp ebp, 4
jne 0x40fd6d
mov ebx, dword [esp + 0x90]
cmp ebx, 4
jne 0x40fd15
mov ebx, dword [0x6cfcc8]
cmp ebx, 0
jne 0x40fcc8
mov eax, esi
movzx ebp, byte [esi]
mov edx, ebp
mov ecx, dword [esp + 0x70]
mov ebx, 0x33
cmp ecx, 8
jae 0x40fcc4
shl ebx, cl
xor ebx, 0xffffffff
and ebx, edx
mov byte [eax], bl
mov eax, esi
movzx ebp, byte [esi]
mov edx, ebp
mov ecx, dword [esp + 0x70]
mov ebx, 0x11
cmp ecx, 8
jae 0x40fcc0
shl ebx, cl
or ebx, edx
mov byte [eax], bl
add esp, 0x84
ret
xor ebx, ebx
jmp 0x40fcb3
xor ebx, ebx
jmp 0x40fc95
mov dword [esp + 0x6c], esi
mov dword [esp], esi
mov ecx, dword [esp + 0x70]
mov ebx, 0x33
cmp ecx, 8
jae 0x40fd11
shl ebx, cl
xor ebx, 0xffffffff
mov byte [esp + 4], bl
call fcn.004ad400
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov ecx, dword [esp + 0x70]
mov ebx, 0x11
cmp ecx, 8
jae 0x40fd0d
shl ebx, cl
mov byte [esp + 4], bl
call fcn.004ad3f0
jmp 0x40fcb9
xor ebx, ebx
jmp 0x40fd00
xor ebx, ebx
jmp 0x40fcdd
mov ebx, dword [0x6cfcc8]
cmp ebx, 0
jne 0x40fd44
mov eax, esi
movzx ebp, byte [esi]
mov edx, ebp
mov ecx, dword [esp + 0x70]
mov ebx, 0x13
cmp ecx, 8
jae 0x40fd40
shl ebx, cl
or ebx, edx
mov byte [eax], bl
jmp 0x40fcb9
xor ebx, ebx
jmp 0x40fd35
mov dword [esp + 0x6c], esi
mov dword [esp], esi
mov ecx, dword [esp + 0x70]
mov ebx, 0x13
cmp ecx, 8
jae 0x40fd69
shl ebx, cl
mov byte [esp + 4], bl
call fcn.004ad3f0
jmp 0x40fcb9
xor ebx, ebx
jmp 0x40fd59
mov ebx, dword [esp + 0x50]
movzx ebp, byte [ebx]
mov edi, ebp
and edi, 3
or edi, 0x10
mov dword [esp + 0x34], edi
mov ebx, dword [0x6cfcc8]
cmp ebx, 0
jne 0x40fdd0
mov eax, esi
movzx ebp, byte [esi]
mov edx, ebp
mov ecx, dword [esp + 0x70]
mov ebx, 0x33
cmp ecx, 8
jae 0x40fdcc
shl ebx, cl
xor ebx, 0xffffffff
and ebx, edx
mov byte [eax], bl
mov eax, esi
movzx ebp, byte [esi]
mov edx, ebp
mov ecx, dword [esp + 0x70]
mov ebx, edi
cmp ecx, 0x20
jae 0x40fdc8
shl ebx, cl
or ebx, edx
mov byte [eax], bl
add esp, 0x84
ret
xor ebx, ebx
jmp 0x40fdbb
xor ebx, ebx
jmp 0x40fda0
mov dword [esp + 0x6c], esi
mov dword [esp], esi
mov ecx, dword [esp + 0x70]
mov ebx, 0x33
cmp ecx, 8
jae 0x40fe18
shl ebx, cl
xor ebx, 0xffffffff
mov byte [esp + 4], bl
call fcn.004ad400
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x34]
cmp ecx, 0x20
jae 0x40fe14
shl ebx, cl
mov byte [esp + 4], bl
call fcn.004ad3f0
jmp 0x40fdc1
xor ebx, ebx
jmp 0x40fe07
xor ebx, ebx
jmp 0x40fde5
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x5c], esi
mov ebx, dword [esp + 0x94]
movzx ebp, byte [ebx + 0xf]
mov ebx, ebp
and ebx, 0x40
cmp bl, 0
je 0x40fec6
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx + 0x14]
mov eax, 4
add ebx, eax
mov eax, ebx
mov dword [esp], esi
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 4]
mov dword [esp + 8], ebp
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
mov dword [esp + 0xc], ebp
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.004104e0
add esp, 0x84
ret
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
mov ebx, dword [esp + 0x90]
cmp ebp, ebx
jae 0x410037
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 4]
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx + 4]
shr ebx, 2
cmp ebx, 0x19
ja 0x41044c
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 4]
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx + 4]
shr ebx, 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jae 0x40ff67
mov dword [esp + 0x48], ecx
movzx esi, byte [edi]
mov ebx, esi
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x20
jae 0x410445
shl ebx, cl
or ebx, dword [esp + 0x48]
mov ecx, ebx
inc edi
mov ebx, dword [esp + 0x2c]
add ebx, 8
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jb 0x40ff31
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx]
shr ebx, 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x28]
add ebx, dword [esp + 0x28]
cmp ebx, 0x19
ja 0x41002d
mov ebx, dword [esp + 0x38]
cmp ebx, 0x20
ja 0x40ffdc
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
cmp ecx, 0x20
jae 0x41043e
shl ebx, cl
or ebx, ebp
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x38]
add ebx, dword [esp + 0x38]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x38]
cmp ebx, 0x20
jbe 0x40ffaa
mov ebx, 0x19
mov esi, eax
mov ecx, edx
mov ebp, dword [esp + 0x28]
mov eax, ebx
xor edx, edx
div ebp
mov ebx, eax
mov edx, ecx
mov eax, esi
imul ebx, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x20]
mov ebx, 1
mov ecx, dword [esp + 0x38]
cmp ecx, 0x20
jae 0x410437
shl ebx, cl
dec ebx
and ebx, ebp
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
xor edi, edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], edi
xor ebp, ebp
cmp edi, ebp
je 0x410057
movzx ebp, byte [edi]
mov ecx, ebp
mov dword [esp + 0x3c], ebp
inc edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x28], 8
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
mov ebx, dword [esp + 0x90]
cmp ebp, ebx
jne 0x4103a3
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 4]
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx + 4]
shr ebx, 2
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x24]
cmp ebx, 0
jne 0x410111
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
call fcn.00447e70
mov ebx, dword [esp + 4]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x80], ebx
call fcn.00429d60
mov ebx, 0x5f35f2
mov dword [esp], ebx
mov dword [esp + 4], 0x16
call fcn.0042a770
call fcn.00429f70
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
call fcn.0042a770
call fcn.00429fb0
call fcn.00429de0
mov ebx, 0x5f96fe
mov dword [esp], ebx
mov dword [esp + 4], 0x2d
call fcn.00429580
add esp, 0x84
ret
mov ebx, dword [esp + 0x24]
cmp ebx, 2
jae 0x410122
mov dword [esp + 0x24], 2
mov ebx, dword [esp + 0x70]
cmp ebx, 0
jne 0x410379
mov ebx, ecx
and ebx, 0xf
or ebx, 0xd0
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x1c]
add edx, 4
mov ebp, dword [esp + 0x24]
cmp edx, ebp
jb 0x410237
mov ebp, dword [esp + 0x24]
cmp edx, ebp
jbe 0x41018a
mov ecx, edx
sub ecx, dword [esp + 0x24]
mov ebp, 4
sub ebp, ecx
mov ecx, ebp
mov ebx, 1
cmp ebp, 0x20
jae 0x410230
shl ebx, cl
dec ebx
mov ebp, dword [esp + 0x30]
mov eax, ebx
shl ebx, 4
or ebx, eax
and ebx, ebp
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x8c]
shr ecx, 2
cmp edx, ecx
ja 0x4101d2
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
mov byte [ebx], al
mov ebx, dword [esp + 0x5c]
dec ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x30], 0
add edx, 4
cmp edx, ecx
ja 0x4101d2
xor eax, eax
mov ebx, dword [esp + 0x5c]
mov byte [ebx], al
mov ebx, dword [esp + 0x5c]
dec ebx
mov dword [esp + 0x5c], ebx
add edx, 4
cmp edx, ecx
jbe 0x4101ba
mov eax, ecx
add eax, 2
cmp eax, edx
jne 0x410202
mov ebx, dword [0x6cfcc8]
cmp ebx, 0
jne 0x410209
mov ebx, dword [esp + 0x5c]
movzx esi, byte [ebx]
mov ebx, esi
and ebx, 0xcc
mov ebp, dword [esp + 0x30]
or ebx, ebp
mov ebp, dword [esp + 0x5c]
mov byte [ebp], bl
add esp, 0x84
ret
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov byte [esp + 4], 0xcc
call fcn.004ad400
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x30]
mov byte [esp + 4], bl
call fcn.004ad3f0
jmp 0x410202
xor ebx, ebx
jmp 0x410176
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
mov byte [ebx], al
mov ebx, dword [esp + 0x5c]
dec ebx
mov dword [esp + 0x5c], ebx
shr ecx, 4
mov eax, dword [esp + 0x28]
sub eax, 4
sub eax, 4
mov ebx, ecx
and ebx, 0xf
or ebx, 0xf0
mov dword [esp + 0x30], ebx
add edx, 4
mov ebp, dword [esp + 0x24]
cmp edx, ebp
jae 0x410151
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
mov ebx, dword [esp + 0x5c]
dec ebx
mov dword [esp + 0x5c], ebx
shr ecx, 4
mov ebp, dword [esp + 0x60]
cmp edi, ebp
je 0x4102f7
cmp eax, 8
jae 0x4102f2
mov dword [esp + 0x44], ecx
movzx esi, byte [edi]
mov ebx, esi
mov ecx, eax
cmp eax, 0x20
jae 0x4102ee
shl ebx, cl
or ebx, dword [esp + 0x44]
mov ecx, ebx
inc edi
mov ebx, ecx
and ebx, 0xf
or ebx, 0xf0
mov dword [esp + 0x30], ebx
add edx, 4
mov ebp, dword [esp + 0x24]
cmp edx, ebp
jae 0x410151
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
mov ebx, dword [esp + 0x5c]
dec ebx
mov dword [esp + 0x5c], ebx
shr ecx, 4
jmp 0x410257
xor ebx, ebx
jmp 0x4102aa
sub eax, 8
jmp 0x4102b3
xor ebp, ebp
cmp edi, ebp
jne 0x410322
cmp eax, 8
jae 0x410319
mov ebp, ecx
mov ebx, dword [esp + 0x20]
mov ecx, eax
cmp eax, 0x20
jae 0x41031e
shl ebx, cl
or ebx, ebp
mov ecx, ebx
add eax, dword [esp + 0x38]
sub eax, 8
jmp 0x4102b3
xor ebx, ebx
jmp 0x41030f
mov dword [esp + 0x4c], ecx
movzx esi, byte [edi]
mov ebx, esi
mov ecx, eax
cmp eax, 0x20
jae 0x410375
shl ebx, cl
or ebx, dword [esp + 0x4c]
mov ecx, ebx
add eax, dword [esp + 0x38]
cmp eax, 8
jae 0x410369
mov edi, ecx
mov ebx, dword [esp + 0x50]
movzx esi, byte [ebx]
mov ebx, esi
mov ecx, eax
cmp eax, 0x20
jae 0x410365
shl ebx, cl
or ebx, edi
mov ecx, ebx
mov edi, dword [esp + 0x50]
inc edi
jmp 0x4102b3
xor ebx, ebx
jmp 0x410355
sub eax, 8
mov edi, dword [esp + 0x50]
jmp 0x4102b3
xor ebx, ebx
jmp 0x410332
mov ebx, 0x5f6dc3
mov dword [esp], ebx
mov dword [esp + 4], 0x21
call fcn.00429580
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x58]
jmp 0x410254
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx]
mov esi, eax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x90]
xor edx, edx
div ebx
mov ebx, eax
mov edx, dword [esp + 0x40]
mov eax, esi
dec ebx
mov esi, ebx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
mov dword [esp + 0x4c], ebp
mov ebx, dword [esp + 0x4c]
imul esi, ebx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x4c], ebp
mov ebx, dword [esp + 0x4c]
mov ebp, esi
add ebp, ebx
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x90]
xor edx, edx
div ebx
mov ebp, eax
mov eax, dword [esp + 0x40]
dec ebp
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx]
imul ebp, ebx
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx + 4]
add ebp, ebx
mov ebx, ebp
shr ebx, 2
mov dword [esp + 0x24], ebx
jmp 0x41008a
xor ebx, ebx
jmp 0x410014
xor ebx, ebx
jmp 0x40ffbf
xor ebx, ebx
jmp 0x40ff47
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 4]
mov ebx, dword [esp + 0x94]
mov ebx, dword [ebx + 4]
shr ebx, 2
add ebx, 7
mov ebx, dword [esp + 0x94]
mov esi, dword [ebx + 4]
shr esi, 2
add esi, 7
shr esi, 3
dec esi
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x4c]
add ebx, esi
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
mov dword [esp + 0x44], ebp
mov ebx, dword [esp + 0x44]
shr ebx, 2
mov dword [esp + 0x44], ebx
mov ebx, esi
shl ebx, 3
mov ebp, dword [esp + 0x44]
sub ebp, ebx
mov dword [esp + 0x38], ebp
jmp 0x410037
call fcn.0044fe90
jmp fcn.0040fbd0