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

Disassembly:
push 0xffffffffffffffff
push 0x43b870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x3c]
mov eax, dword [ebp + 0x478c]
add eax, 4
push eax
push ecx
mov ecx, ebp
call fcn.0040bbc0
mov eax, dword [esp + 0x3c]
mov bx, word [ebp + 0x4736]
mov edx, eax
mov ecx, eax
and edx, 0xff0000
mov si, word [ebp + 0x4738]
shr ecx, 0x10
or edx, ecx
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
mov dword [esp + 0x20], ebx
or ecx, eax
mov ax, word [ebp + 0x4734]
shr edx, 8
shl ecx, 8
or edx, ecx
mov cl, byte [ebp + 0x473b]
mov dword [esp + 0x3c], edx
mov dl, byte [ebp + 0x473a]
mov byte [esp + 0x12], dl
xor edx, edx
mov dl, byte [ebp + 0x4730]
mov byte [esp + 0x11], cl
mov cl, byte [ebp + 0x473c]
mov dword [esp + 0x24], eax
lea edi, [edx - 8]
mov byte [esp + 0x13], cl
cmp edi, 0x18
mov dword [esp + 0x1c], esi
ja case.0x41018a.11
xor edx, edx
mov dl, byte [edi + 0x41062c]
jmp dword [edx*4 + 0x41061c]
mov edi, dword [esp + 0x40]
and edi, 0xff
jmp 0x4101a7
mov edi, dword [esp + 0x40]
and edi, 0xffff
mov edx, edi
and esi, 0xffff
shr edx, cl
and eax, 0xffff
mov cl, byte [esp + 0x11]
mov dword [esp + 0x14], eax
and ebx, 0xffff
and edx, esi
mov eax, edx
shl eax, 8
sub eax, edx
cdq
idiv esi
mov edx, edi
shr edx, cl
mov cl, byte [esp + 0x12]
shr edi, cl
mov ecx, dword [esp + 0x14]
and edx, ebx
and edi, ecx
mov esi, eax
mov eax, edx
shl eax, 8
sub eax, edx
and esi, 0xff
cdq
idiv ebx
or esi, 0x200
shl esi, 8
and eax, 0xff
or esi, eax
mov eax, edi
shl eax, 8
sub eax, edi
cdq
idiv ecx
shl esi, 8
and eax, 0xff
or esi, eax
jmp 0x41029e
mov edi, dword [esp + 0x40]
and esi, 0xffff
mov edx, edi
and eax, 0xffff
shr edx, cl
mov dword [esp + 0x14], eax
mov cl, byte [esp + 0x11]
and ebx, 0xffff
and edx, esi
mov eax, edx
shl eax, 8
sub eax, edx
xor edx, edx
div esi
mov edx, edi
shr edx, cl
mov cl, byte [esp + 0x12]
shr edi, cl
mov ecx, dword [esp + 0x14]
and edx, ebx
and edi, ecx
mov esi, eax
mov eax, edx
shl eax, 8
sub eax, edx
xor edx, edx
div ebx
and esi, 0xff
xor edx, edx
or esi, 0x200
shl esi, 8
and eax, 0xff
or esi, eax
mov eax, edi
shl eax, 8
sub eax, edi
div ecx
shl esi, 8
and eax, 0xff
or esi, eax
jmp 0x41029e
mov esi, dword [esp + 0x80]
lea edi, [ebp + 0x4fc]
lea ecx, [esp + 0x30]
push edi
call fcn.00408db0
mov eax, dword [ebp + 0x3d34]
mov ecx, dword [ebp + 0x3d38]
push eax
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], 0
call fcn.00408e20
mov edx, dword [ebp + 0x3d3c]
mov eax, dword [ebp + 0x3d38]
mov bl, 1
push edx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], bl
call fcn.00408e60
mov eax, dword [esp + 0x80]
xor ecx, ecx
xor edx, edx
push esi
mov cx, word [eax + 6]
mov dx, word [eax + 4]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x8c], 2
call fcn.0040cc40
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], bl
call fcn.00408e90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 0
call fcn.00408e40
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], 0xffffffff
call fcn.00408dd0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x410605
mov ebx, dword [ebp + 0x478c]
mov ecx, ebp
add ebx, 8
imul eax, ebx
push eax
mov dword [esp + 0x38], ebx
call fcn.0040bed0
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x4dc]
imul eax, ebx
push eax
push ecx
mov ecx, ebp
call fcn.0040bbc0
mov ebx, dword [ebp + 0x4dc]
push edi
lea ecx, [esp + 0x3c]
call fcn.00408db0
mov edx, dword [ebp + 0x3d34]
mov eax, dword [ebp + 0x3d38]
push edx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x80], 3
call fcn.00408e20
mov ecx, dword [ebp + 0x3d3c]
mov edx, dword [ebp + 0x3d38]
push ecx
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 4
call fcn.00408e60
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x78], 5
test eax, eax
mov dword [esp + 0x2c], 0
jbe 0x4105d8
mov edx, dword [ebp + 0x478c]
mov al, byte [ebp + 0x4730]
mov edi, ebx
add edi, edx
cmp al, 8
mov dword [esp + 0x28], edi
je 0x4104b0
cmp al, 0x10
je 0x4104a9
cmp al, 0x20
jne 0x410542
mov edi, dword [ebx]
mov eax, dword [esp + 0x20]
mov cl, byte [esp + 0x13]
mov esi, dword [esp + 0x1c]
mov edx, edi
and eax, 0xffff
shr edx, cl
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
and esi, 0xffff
and eax, 0xffff
mov dword [esp + 0x14], eax
mov cl, byte [esp + 0x11]
and edx, esi
mov eax, edx
shl eax, 8
sub eax, edx
xor edx, edx
div esi
mov edx, edi
shr edx, cl
mov ecx, dword [esp + 0x18]
and edx, ecx
mov esi, eax
mov eax, edx
shl eax, 8
sub eax, edx
xor edx, edx
div ecx
mov cl, byte [esp + 0x12]
and esi, 0xff
shr edi, cl
mov ecx, dword [esp + 0x14]
or esi, 0x200
shl esi, 8
xor edx, edx
and edi, ecx
and eax, 0xff
or esi, eax
mov eax, edi
shl eax, 8
sub eax, edi
shl esi, 8
div ecx
jmp 0x410537
xor edi, edi
mov di, word [ebx]
jmp 0x4104b6
xor eax, eax
mov al, byte [ebx]
mov edi, eax
mov eax, dword [esp + 0x20]
mov cl, byte [esp + 0x13]
mov esi, dword [esp + 0x1c]
mov edx, edi
and eax, 0xffff
and esi, 0xffff
shr edx, cl
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
and eax, 0xffff
mov cl, byte [esp + 0x11]
mov dword [esp + 0x14], eax
and edx, esi
mov eax, edx
shl eax, 8
sub eax, edx
cdq
idiv esi
mov edx, edi
shr edx, cl
mov ecx, dword [esp + 0x18]
and edx, ecx
mov esi, eax
mov eax, edx
shl eax, 8
sub eax, edx
and esi, 0xff
cdq
idiv ecx
mov cl, byte [esp + 0x12]
or esi, 0x200
shr edi, cl
mov ecx, dword [esp + 0x14]
shl esi, 8
and edi, ecx
and eax, 0xff
or esi, eax
mov eax, edi
shl eax, 8
sub eax, edi
cdq
shl esi, 8
idiv ecx
mov edi, dword [esp + 0x28]
and eax, 0xff
or esi, eax
mov ax, word [edi]
mov ecx, dword [esp + 0x80]
xor edx, edx
push esi
mov dl, ah
mov dh, al
mov ax, word [edi + 2]
add dx, word [ecx]
mov word [esp + 0x68], dx
xor edx, edx
mov dl, ah
mov dh, al
mov ax, word [edi + 4]
add dx, word [ecx + 2]
xor ecx, ecx
mov cl, ah
mov word [esp + 0x6a], dx
mov ch, al
mov ax, word [edi + 6]
xor edx, edx
mov dl, ah
mov word [esp + 0x6c], cx
mov dh, al
mov word [esp + 0x6e], dx
mov edx, dword [esp + 0x6a]
mov eax, dword [esp + 0x6e]
mov ecx, dword [esp + 0x6c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x6c]
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
mov ecx, ebp
call fcn.0040cc40
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add ebx, edi
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jb 0x4103f2
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 4
call fcn.00408e90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 3
call fcn.00408e40
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], 0xffffffff
call fcn.00408dd0
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4