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

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xa8], 0
mov eax, dword [esi + 0x108]
push eax
lea eax, [esp + 0x88]
push 0x2910
push eax
call fcn.0045e0e0
push eax
call fcn.00404b90
mov ecx, dword [0x621804]
add esp, 0x10
mov dword [esp + 0x64], ecx
mov ecx, esi
call fcn.00419cb0
lea edx, [esi + 0x114]
push 0
mov ecx, esi
mov ebp, dword [edx]
mov ebx, dword [edx + 4]
mov eax, dword [edx + 8]
mov edx, dword [esi]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x18]
push eax
call dword [edx + 0x94]
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x128]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov edx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], eax
call dword [edx + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x78]
mov edx, dword [esi]
push 0
push 1
mov ecx, esi
call dword [edx + 0xa8]
call fcn.004985c0
test eax, eax
je 0x49198b
push esi
mov ecx, eax
call fcn.004b34a0
mov esi, dword [esi + 0x128]
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x70]
call fcn.00405d90
mov edi, str.rubble
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.rubble
push ecx
push str.rubble
lea ecx, [esp + 0x74]
call fcn.00406380
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00405d90
mov edi, str.other
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.other
push ecx
push str.other
lea ecx, [esp + 0x80]
call fcn.00406380
lea edx, [esp + 0x13]
push 8
push edx
lea ecx, [esp + 0x44]
call fcn.00405da0
mov eax, dword [esp + 0x40]
mov byte [eax], 0
mov al, byte [esi + 0x139]
test al, al
je 0x491a69
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405d90
mov edi, str.bstump1
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.bstump1
push ecx
push str.bstump1
lea ecx, [esp + 0x1c]
call fcn.00406380
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00406830
lea ecx, [esp + 0x14]
jmp 0x491ab7
lea edx, [esp + 0x13]
lea ecx, [esp + 0x14]
push edx
call fcn.00405d90
mov edi, str.brubls1
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.brubls1
push ecx
push str.brubls1
lea ecx, [esp + 0x1c]
call fcn.00406380
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.00406830
lea ecx, [esp + 0x14]
call fcn.00406010
mov ecx, dword [0x621804]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x7c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x74]
push edx
lea edx, [esp + 0x54]
push edx
call dword [eax + 0x14]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x491b28
lea ecx, [esp + 0x48]
call fcn.0040ee80
lea ecx, [esp + 0x3c]
call fcn.00406010
lea ecx, [esp + 0x78]
call fcn.00406010
lea ecx, [esp + 0x6c]
call fcn.00406010
lea ecx, [esp + 0x84]
call fcn.00406010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
mov edi, dword [esp + 0x54]
mov edx, dword [eax]
mov eax, edi
mov dword [esp + 0x60], edx
shl eax, 5
cdq
sub eax, edx
push 0xc
sar eax, 1
sub ebp, eax
mov eax, dword [esp + 0x5c]
shl eax, 5
cdq
sub eax, edx
add ebp, 0x10
sar eax, 1
sub ebx, eax
mov eax, dword [esp + 0x9c]
add ebx, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.005f0c55
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x491b89
lea ecx, [esp + 0x13]
push ecx
mov ecx, esi
call fcn.00405d90
mov ebx, esi
test edi, edi
jle 0x491d2f
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x58]
xor esi, esi
test eax, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], esi
jle 0x491d15
call fcn.005f1876
cdq
mov ecx, 0x64
idiv ecx
test edx, edx
jle 0x491d00
mov ebp, dword [esp + 0x18]
mov edx, dword [0x621804]
shl esi, 5
add esi, ebp
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x90]
lea esi, [edx + 8]
push eax
push ecx
mov ecx, esi
call fcn.0041a3e0
mov edi, dword [eax]
mov ecx, esi
mov ebp, dword [eax + 4]
push ebp
push edi
mov edx, dword [eax + 8]
mov dword [esp + 0xac], edx
call fcn.0041a3b0
test al, al
je 0x491d00
mov eax, dword [esi + 0x2c]
imul eax, ebp
add eax, edi
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esi + 0x38]
lea esi, [ecx + eax*4]
test esi, esi
je 0x491d00
mov edx, dword [esp + 0x30]
test edx, edx
jge 0x491c4a
and edx, 0x8000000f
jns 0x491c45
dec edx
or edx, 0xfffffff0
inc edx
add edx, 0x10
jmp 0x491c57
and edx, 0x8000000f
jns 0x491c57
dec edx
or edx, 0xfffffff0
inc edx
mov eax, dword [esp + 0x28]
and eax, 0x8000003f
jns 0x491c67
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, dword [esp + 0x2c]
and ecx, 0x8000003f
jns 0x491c78
dec ecx
or ecx, 0xffffffc0
inc ecx
sub esp, 0xc
mov edi, esp
push esi
push 0
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x74]
push edx
call fcn.004ce290
mov esi, eax
test esi, esi
je 0x491d00
mov eax, dword [esi]
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [esp + 0x68]
mov ecx, esi
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], edx
call fcn.0052d330
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ecx, dword [esi + 0x124]
cmp eax, edx
mov dword [esp + 0x24], ecx
je 0x491ce2
test eax, eax
je 0x491cdc
mov dword [eax], ecx
add dword [ebx + 4], 4
jmp 0x491cf1
lea ecx, [esp + 0x24]
push 1
push ecx
push eax
mov ecx, ebx
call fcn.0043bda0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x491d00
mov ecx, esi
call fcn.0052d490
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
inc esi
cmp esi, eax
mov dword [esp + 0x20], esi
jl 0x491baf
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add ebp, 0x20
dec eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], eax
jne 0x491b99
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
sub edx, eax
lea ecx, [esp + 0x50]
sar edx, 2
push edx
push eax
call fcn.00414610
lea ecx, [esp + 0x3c]
call fcn.00406010
lea ecx, [esp + 0x78]
call fcn.00406010
lea ecx, [esp + 0x6c]
call fcn.00406010
lea ecx, [esp + 0x84]
call fcn.00406010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret