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

Disassembly:
push 0xffffffffffffffff
push 0x4ac726
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4dd704]
xor eax, esp
mov dword [esp + 0x19c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x1b4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c4]
mov eax, dword [esi + 4]
xor ebx, ebx
cmp dword [eax + 0x4c], ebx
je 0x4108cc
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4105ba
mov edx, dword [ecx]
mov edx, dword [edx]
push 0x10001
push ebx
lea eax, [esp + 0x20]
push eax
call edx
jmp 0x4105ca
lea eax, [esp + 0x8c]
push eax
call fcn.00404250
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x88], eax
push 0x42415345
push 0x20
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c8], ebx
call fcn.004093c0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x1bc], 1
cmp eax, ebx
jbe 0x410620
nop
mov ecx, dword [esp + 0x1c]
cmp word [ecx + eax*2 - 2], bx
jne 0x410620
push 1
dec eax
push eax
lea ecx, [esp + 0x24]
call fcn.00408110
mov eax, dword [esp + 0x20]
cmp eax, ebx
ja 0x410600
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.004071b0
mov edi, dword [esi + 0x20]
cmp edi, 0x200
ja 0x410642
mov edi, 0x200
mov ecx, dword [esi + 0x18]
xor eax, eax
mov word [esp + 0xb0], ax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jb 0x410702
ja 0x410664
cmp ecx, edi
jbe 0x410702
mov edx, dword [esi + 0x10]
mov eax, ecx
mov ecx, dword [esi + 0x1c]
add eax, edx
adc ecx, dword [esi + 0x14]
push ebx
add eax, 0xffffffff
push edi
adc ecx, 0xffffffff
push ecx
push eax
call fcn.0049c5c0
xor ecx, ecx
push ebx
mov word [esp + 0x58], cx
mov ecx, dword [esi + 0x14]
push edi
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x10]
push ecx
mov ebp, 0x100
push eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0x200004
mov dword [esp + 0x60], ebp
mov dword [esp + 0x6c], edx
call fcn.0049c5c0
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push eax
xor ecx, ecx
push ebx
push 0xb302
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x200004
mov dword [esp + 0x40], ebp
mov word [esp + 0x44], cx
call fcn.0043f260
add esp, 8
push eax
lea ecx, [esp + 0xbc]
push 0x80
push ecx
call fcn.004104b0
add esp, 0x14
jmp 0x41075e
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebx
push edi
push ecx
push eax
call fcn.0049c5c0
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x28]
push edx
xor ecx, ecx
push ebx
mov ebp, 0x100
push 0xb301
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x200004
mov dword [esp + 0x3c], ebp
mov word [esp + 0x40], cx
mov dword [esp + 0x44], eax
call fcn.0043f260
add esp, 8
push eax
lea eax, [esp + 0xb8]
push 0x80
push eax
call fcn.004104f0
add esp, 0x10
cmp edi, 0x400
jb 0x4107ac
xor ecx, ecx
mov word [esp + 0x74], cx
lea edx, [esp + 0x68]
push edx
mov ecx, 0x80
push str.___1K_
sub ecx, eax
push ecx
lea edx, [esp + eax*2 + 0xbc]
shr edi, 0xa
push edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 0x100004
mov dword [esp + 0x80], ebp
mov dword [esp + 0x88], edi
call fcn.00410520
add esp, 0x10
mov eax, dword [esi + 0x2c]
xor edx, edx
cmp eax, ebx
jne 0x4107c4
cmp dword [esi], 2
sete dl
lea edx, [edx + edx + 0xb303]
jmp 0x4107d1
cmp dword [esi], 2
sete dl
lea edx, [edx + edx + 0xb304]
mov esi, dword [esi + 4]
inc eax
mov dword [esp + 0xa0], eax
xor eax, eax
mov ecx, 0x700000
mov word [esp + 0x54], ax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x6c], ecx
xor ecx, ecx
mov dword [esp + 0x58], eax
mov word [esp + 0x74], cx
lea eax, [esp + 0xb0]
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x28]
push ecx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x50]
push ecx
lea eax, [esp + 0x74]
push eax
add esi, 0x50
mov dword [esp + 0x48], esi
or esi, 0xffffffff
xor edi, edi
push ebx
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebp
mov word [esp + 0x4c], di
mov dword [esp + 0x54], esi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], 0x100004
mov dword [esp + 0xb0], ebp
mov word [esp + 0xb4], di
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x94], esi
call fcn.0043f260
add esp, 8
push eax
push 0x204
call fcn.0040b820
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp eax, ebx
je 0x4108ad
push eax
call fcn.0049ba00
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1bc], esi
cmp ecx, ebx
je 0x4108cc
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], ecx
call edx
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.0049bf8d
add esp, 0x1ac
ret