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

Disassembly:
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x100]
mov eax, dword [eax]
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x84]
push esi
xor esi, esi
test byte [eax + 0x50], 1
push edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jne 0x480a04
mov edx, dword [ebp + 0x20]
lea ebx, [ebx + ebx*8]
add ebx, ebx
add ebx, ebx
add ebx, ebx
cmp dword [ebp + 0x44], esi
mov eax, dword [ebx + edx + 0x34]
mov ecx, dword [ebx + edx + 0x1c]
mov dword [esp + 0x48], eax
lea eax, [ebx + edx + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ecx
jne 0x480a04
cmp dword [ecx + 0x44], esi
jne 0x480a04
mov eax, dword [ecx + 0x3c]
cmp eax, esi
mov edi, dword [ecx + 0x20]
je 0x480333
cmp dword [ebp + 0x3c], esi
jne 0x480a04
cmp eax, esi
je 0x480333
cmp dword [eax + 0x10], esi
jne 0x480a04
mov esi, dword [ebp + 4]
test esi, 0x100
je 0x480346
test eax, eax
jne 0x480a04
mov esi, dword [edi]
test esi, esi
je 0x480a04
mov ecx, dword [ecx + 4]
test cl, 1
jne 0x480a04
test eax, eax
je 0x480377
cmp dword [edx], 1
jg 0x480a04
cmp dword [esp + 0x94], 0
jne 0x480a04
cmp dword [ebp + 0x30], 0
je 0x48038b
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x30], 0
jne 0x480a04
cmp dword [esp + 0x94], 0
mov edx, dword [esp + 0x18]
je 0x4803a3
cmp dword [edx + 0x30], 0
jne 0x480a04
test eax, eax
je 0x4803bf
cmp dword [ebp + 0x24], 0
jne 0x480a04
test eax, eax
je 0x4803bf
test byte [ebp + 4], 1
jne 0x480a04
test ecx, 0x2000
jne 0x480a04
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ecx + 0x2c]
mov dword [esp + 0x44], eax
mov al, byte [eax]
test al, 0x60
je 0x48040d
cmp esi, 1
jg 0x480a04
mov esi, dword [edi + 0x18]
cmp byte [esi + 0x2b], 1
je 0x480a04
test byte [ebp + 4], 1
jne 0x480a04
test al, 0x10
jne 0x480a04
mov dword [esp + 0x30], 1
cmp dword [esp + 0x90], 0
jle 0x480421
test byte [edi + 0x2c], 0x40
jne 0x480a04
test dword [ebx + ecx + 0x30], 0x100
je 0x480439
mov eax, dword [ebx + ecx + 0x4c]
cmp byte [eax + 0x12], 0
je 0x480a04
cmp dword [edx + 0x34], 0
je 0x480565
cmp dword [edx + 0x30], 0
jne 0x480a04
cmp dword [esp + 0x94], 0
jne 0x480a04
test byte [ebp + 4], 1
jne 0x480a04
cmp dword [esp + 0x30], 0
jg 0x480a04
mov eax, edx
test byte [eax + 4], 9
jne 0x480a04
mov edx, dword [eax + 0x34]
test edx, edx
je 0x48048c
cmp byte [eax], 0x87
jne 0x480a04
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jl 0x480a04
cmp dword [eax + 0x44], 0
jne 0x480a04
cmp dword [esp + 0x90], 0
jle 0x4804b6
test byte [ecx + 0x2c], 0x40
jne 0x480a04
mov eax, edx
test eax, eax
jne 0x480472
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4804e7
cmp dword [ecx], edx
jle 0x4804e7
add ecx, 0x18
lea ebx, [ebx]
cmp word [ecx], 0
je 0x480a04
mov edx, dword [ebp + 0x30]
add eax, 1
add ecx, 0x14
cmp eax, dword [edx]
jl 0x4804d0
test dword [ebp + 4], 0x2000
jne 0x480a04
mov eax, dword [esp + 0x18]
push eax
call fcn.00480200
add esp, 4
test eax, eax
jne 0x480a04
mov ecx, dword [esp + 0x14]
cmp dword [ecx], 1
jle 0x480565
mov esi, dword [esp + 0x88]
cmp dword [esi + 0x68], 0x1f4
jg 0x480a04
mov edi, dword [esp + 0x1c]
test dword [edi + 0x50], 0x800000
jne 0x480a04
mov eax, dword [esi + 0x28]
cdq
push 0
add eax, 1
push 4
adc edx, 0
push edx
push eax
call sub.ntdll.dll__allmul
push edx
push eax
mov ecx, edi
call fcn.00419570
add esp, 8
test eax, eax
mov dword [esp + 0x28], eax
je 0x480565
mov edx, dword [esi + 0x28]
mov dword [eax], edx
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + edi + 0x10]
mov eax, dword [esp + 0x88]
push 0
push 0
lea esi, [ebx + edi + 0x10]
push 0
push 0x15
mov dword [eax + 0x100], ecx
call fcn.0045f990
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x100], edx
mov eax, dword [ebx + edi + 0xc]
mov edx, dword [ecx]
lea edi, [ebx + edi + 0xc]
add esp, 0x10
test eax, eax
mov dword [esp + 0x38], edx
je 0x4805be
mov ecx, dword [esp + 0x1c]
call fcn.00419270
mov eax, dword [esi]
test eax, eax
je 0x4805cd
mov ecx, dword [esp + 0x1c]
call fcn.00419270
mov eax, dword [esp + 0x14]
lea ebx, [ebx + eax + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x4805e4
mov ecx, dword [esp + 0x1c]
call fcn.00419270
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ebx], 0
mov dword [ecx], 0
mov eax, dword [edx + 0x34]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4806cf
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [esp + 0x24], edx
mov eax, dword [ebp + 0x34]
mov esi, dword [ebp + 0x30]
mov ebx, dword [ebp + 0x3c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
xor ecx, ecx
push ecx
mov dword [eax], ecx
push ebp
push edx
mov dword [ebp + 0x30], ecx
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x3c], ecx
call fcn.004534f0
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x4c]
add esp, 0xc
test edi, edi
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x30], esi
mov byte [ebp], 0x87
mov dword [ecx], eax
jne 0x480679
mov edx, dword [esp + 0x3c]
mov dword [ebp + 0x34], edx
jmp 0x4806bc
mov edx, dword [esp + 0x88]
add dword [edx + 0x68], 1
mov esi, dword [esp + 0x28]
test esi, esi
mov eax, dword [edx + 0x68]
mov dword [edi + 0x10], eax
je 0x4806a8
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4806a8
mov eax, dword [esp + 0x90]
call fcn.004801b0
mov eax, dword [esp + 0x3c]
test eax, eax
mov dword [edi + 0x34], eax
je 0x4806b6
mov dword [eax + 0x38], edi
mov dword [edi + 0x38], ebp
mov dword [ebp + 0x34], edi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x34]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x480623
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4806e0
mov ecx, dword [esp + 0x1c]
call fcn.00419270
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x57], 0
je 0x480701
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + eax + 0x18]
test edi, edi
lea eax, [edx + eax + 0x18]
mov dword [esp + 0x24], eax
je 0x48074f
mov ecx, dword [edi + 0x18]
cmp ecx, 1
jne 0x480743
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + 0x78]
test eax, eax
jne 0x480731
mov eax, ecx
mov ebx, fcn.00460f90
mov esi, eax
call fcn.00479b80
mov eax, dword [esp + 0x24]
jmp 0x480749
add ecx, 0xffffffff
mov dword [edi + 0x18], ecx
mov dword [eax], 0
mov ecx, dword [esp + 0x38]
mov edi, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
jmp 0x48076b
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov bl, byte [edx + eax + 0x2c]
mov esi, dword [ecx + 0x20]
mov ecx, dword [esi]
mov eax, dword [edi + 0x20]
and bl, 0x40
cmp edi, ebp
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], bl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
jne 0x4807a5
mov edx, dword [esp + 0x44]
mov dl, byte [edx]
mov byte [esp + 0x13], dl
cmp ecx, 1
jle 0x4807dc
mov edx, dword [esp + 0x90]
add edx, 1
push edx
add ecx, 0xffffffff
push ecx
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00466080
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
je 0x48099b
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x20], eax
test ecx, ecx
jle 0x480843
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
lea ebp, [esi + 8]
lea ebx, [edx + eax + 0x2c]
mov dword [esp + 0x3c], ecx
test dword [ebx + 4], 0x400
je 0x48080c
mov edi, dword [ebx + 0xc]
mov esi, dword [esp + 0x1c]
call fcn.00465f50
mov dl, byte [esp + 0x12]
lea edi, [ebx - 0x24]
mov ecx, 0x12
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
or byte [ebx], dl
mov eax, dword [ebp + 0x2c]
push 0x48
push 0
push ebp
mov dword [esp + 0x40], eax
call sub.ntdll.dll_memset
add esp, 0xc
add ebx, 0x48
add ebp, 0x48
sub dword [esp + 0x3c], 1
jne 0x4807f7
mov bl, byte [esp + 0x12]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov cl, byte [esi + eax + 0x2c]
mov edi, dword [esp + 0x18]
and cl, 0x40
or cl, bl
or cl, byte [esp + 0x13]
mov ebx, dword [esp + 0x24]
mov byte [esi + eax + 0x2c], cl
mov eax, dword [edi + 0x30]
test eax, eax
je 0x480899
test dword [ebx + 4], 0x400000
jne 0x480899
xor ecx, ecx
cmp dword [eax], ecx
jle 0x48088f
lea edx, [eax + 0x18]
lea ecx, [ecx]
mov word [edx], 0
add ecx, 1
add edx, 0x14
cmp ecx, dword [eax]
jl 0x480880
mov dword [ebx + 0x30], eax
mov dword [edi + 0x30], 0
mov ebp, dword [esp + 0x30]
test ebp, ebp
mov esi, dword [edi + 0x24]
mov dword [edi + 0x24], 0
jle 0x4808bb
mov edx, dword [esp + 0x34]
push 1
push edx
push esi
call fcn.0047a9e0
add esp, 0xc
test esi, esi
je 0x4808e2
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x4808df
mov ecx, dword [esp + 0x88]
push 0x2c
push ecx
mov ecx, esi
call fcn.00452690
add esp, 8
mov dword [ebx + 0x24], eax
jmp 0x4808e2
mov dword [ebx + 0x24], esi
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x57], 0
jne 0x480940
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebp
mov ecx, dword [edi + 0x34]
test ecx, ecx
mov eax, edi
je 0x480929
jmp 0x480920
mov eax, ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x480920
mov ecx, dword [eax + 0x1c]
push 0
lea edx, [esp + 0x50]
push ebx
push edx
mov dword [esp + 0x6c], ecx
call fcn.0047fed0
add esp, 0xc
mov eax, dword [edi + 4]
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x48095c
mov dword [ebx + 0x3c], eax
mov dword [edi + 0x3c], 0
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x480985
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea esi, [ecx + edx + 8]
mov ebp, eax
push ebx
mov ecx, esi
call fcn.00480070
add esp, 4
add esi, 0x48
sub ebp, 1
jne 0x480972
mov ebx, dword [ebx + 0x34]
test ebx, ebx
mov eax, dword [edi + 0x34]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
jne 0x480760
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x88]
xor eax, eax
lea edx, [esp + 0x64]
push esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
push edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], 0x459a40
mov dword [esp + 0x74], 0x44e570
call fcn.0044e940
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.0047a780
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x74
ret