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

Disassembly:
sub esp, 0x274
mov eax, dword [esp + 0x27c]
mov ecx, dword [esp + 0x290]
push ebx
xor ebx, ebx
mov edx, dword [eax + 0x38ec]
push ebp
push esi
cmp ecx, ebx
push edi
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x34], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x38], ebx
jne 0x4300e2
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x10], eax
jmp 0x4300eb
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov edx, dword [edx + 0x8c]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x24], ecx
call fcn.004f5ce0
mov ecx, dword [esp + 0x294]
mov esi, dword [esp + 0x290]
cmp ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
je 0x43013a
mov esi, dword [ecx + 0x30]
mov edi, dword [esp + 0x29c]
sub esi, eax
mov dword [edi], esi
mov edi, dword [ecx + 0x30]
mov ebx, dword [ecx + 0x34]
sub edi, eax
sbb ebx, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
jmp 0x43016c
cmp esi, ebx
je 0x430164
mov edi, dword [esp + 0x29c]
cmp edi, ebx
je 0x430150
mov ebx, dword [esi + 0x20]
sub ebx, eax
mov dword [edi], ebx
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
sub edi, eax
sbb ebx, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
jmp 0x43016c
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x2a4]
mov ebp, esi
and ebp, dword [esp + 0x2a8]
cmp ebp, 0xffffffff
je 0x430192
mov ebx, dword [esp + 0x2a8]
mov edi, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x34]
cmp dword [ebp + 0x94], 0
jne 0x430226
test ecx, ecx
je 0x4301dd
mov esi, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
mov edx, esi
or edx, eax
jne 0x4301cd
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
sub esi, eax
mov eax, dword [ecx + 0x1c]
sbb eax, edx
add esi, 1
adc eax, 0
mov dword [esp + 0x60], eax
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
jmp 0x430208
mov ecx, dword [esp + 0x2a8]
push 0
mov dword [esp + 0x64], ecx
mov ecx, edi
add ecx, eax
mov eax, ebx
adc eax, edx
mov edx, dword [ebp + 0x8c]
push edx
push eax
push ecx
call fcn.004f5e50
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
add esi, 0x10000
push esi
call fcn.004b6a20
mov ecx, dword [esp + 0x29c]
add esp, 4
mov dword [esp + 0x38], eax
mov dword [ecx], eax
jmp 0x430269
mov eax, dword [esp + 0x2b0]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
jbe 0x430269
mov ecx, dword [esp + 0x2ac]
mov ebp, eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp eax, esi
jb 0x43025b
ja 0x430255
cmp edx, dword [esp + 0x44]
jbe 0x43025b
mov dword [esp + 0x44], edx
mov esi, eax
add ecx, 0x18
dec ebp
jne 0x430244
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x48], esi
mov edx, dword [ebp + 0x8c]
shl edx, 6
push edx
call fcn.004b6a20
mov esi, eax
mov eax, dword [ebp + 0x8c]
shl eax, 6
push eax
mov dword [esp + 0x58], esi
call fcn.004b6a20
add esp, 8
mov dword [esp + 0x28], eax
test esi, esi
je 0x4308a8
test eax, eax
je 0x4308a8
or edi, ebx
je 0x4308a0
mov esi, dword [esp + 0x34]
xor ebp, ebp
cmp dword [esi + 0x94], ebp
je 0x4302de
mov ecx, dword [esp + 0x288]
push ecx
call fcn.00422ce0
add esp, 4
test eax, eax
je 0x4308a8
cmp dword [0x760b24], ebp
jne 0x4308a8
mov edx, dword [esi + 0x8c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push ebp
push edx
push eax
push ecx
call fcn.004f5e50
mov edx, eax
mov eax, dword [esp + 0x48]
cmp ebp, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
ja 0x4308e3
jb 0x430317
cmp edx, dword [esp + 0x44]
ja 0x4308e3
mov esi, dword [esp + 0x2ac]
cmp ebp, dword [esi + 4]
jl 0x4308e3
jg 0x430331
cmp edx, dword [esi]
jb 0x4308e3
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
lea eax, [esi + 0x10]
xor ecx, ecx
or edi, ebx
mov dword [esp + 0x18], ecx
je 0x430362
cmp ebp, dword [eax + 0xc]
jl 0x43035e
jg 0x430350
cmp edx, dword [eax + 8]
jb 0x43035e
mov edi, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
add eax, 0x18
inc ecx
or edi, ebx
jne 0x430344
mov dword [esp + 0x18], ecx
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
mov esi, dword [eax + 0x10]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x40], eax
mov ebx, dword [eax + 0x14]
lea ecx, [eax + 0x10]
or esi, ebx
mov dword [esp + 0x64], ecx
je 0x4303ba
mov esi, dword [eax]
mov edi, dword [eax + 4]
sub edx, esi
mov ecx, ebp
sbb ecx, edi
cmp ecx, ebx
ja 0x4303ba
jb 0x430398
cmp edx, dword [esp + 0x7c]
jae 0x4303ba
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
test eax, eax
jl 0x4303ba
jg 0x4303a8
test ebx, ebx
jb 0x4303ba
mov edx, dword [esp + 0x10]
sub ebx, esi
sbb eax, edi
add ebx, edx
adc eax, ebp
mov dword [esp + 0x60], eax
jmp 0x4303c1
or ebx, 0xffffffff
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2b0]
push edx
mov edx, dword [esp + 0x298]
push eax
mov eax, dword [esp + 0x298]
push ecx
push edx
push eax
call fcn.00430080
mov ecx, dword [esp + 0x4c]
mov esi, eax
add esp, 0x18
dec esi
mov edi, dword [ecx + 0x8c]
mov dword [esp + 0x78], eax
neg esi
sbb esi, esi
mov ebp, edi
and esi, 0x30
add esi, 0x10
imul ebp, esi
cmp eax, 1
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x1c], ebp
je 0x430465
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, dword [edx]
adc eax, dword [edx + 4]
mov edx, dword [esp + 0x14]
cmp eax, edx
jb 0x430465
ja 0x43043f
cmp ecx, dword [esp + 0x10]
jbe 0x430465
mov edx, dword [esp + 0x10]
push 0
sub ecx, edx
mov edx, dword [esp + 0x18]
sbb eax, edx
push edi
push eax
push ecx
call fcn.004f5ce0
xor ecx, ecx
cmp ecx, edx
jb 0x430465
ja 0x430461
cmp ebp, eax
jbe 0x430465
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp eax, ecx
jb 0x430485
ja 0x43047d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp edx, eax
jbe 0x430485
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov ecx, 1
cmp eax, ecx
je 0x4304a9
mov edx, dword [esp + 0x1c]
lea eax, [edi + edx - 1]
xor edx, edx
div edi
mov esi, eax
mov ebp, esi
imul ebp, edi
mov dword [esp + 0x6c], ebp
mov edi, dword [esp + 0x60]
mov eax, ebx
and eax, edi
mov dword [esp + 0x54], 0
cmp eax, 0xffffffff
je 0x4304c2
mov dword [esp + 0x54], ecx
xor edx, edx
mov ecx, 0x80
or eax, 0xffffffff
lea edi, [esp + 0x84]
cmp esi, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x68], edx
jbe 0x430632
mov ecx, dword [esp + 0x54]
lea edi, [esp + 0x84]
mov dword [esp + 0x70], edi
jmp 0x43050a
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x60]
mov dword [edi], ebx
and ebx, eax
mov dword [edi + 4], eax
cmp ebx, 0xffffffff
jne 0x43052c
test ecx, ecx
je 0x43054e
test edx, edx
jne 0x43054e
mov dword [esp + 0x3c], 1
jmp 0x43054e
mov edi, dword [esp + 0x40]
inc edi
test ecx, ecx
mov dword [esp + 0x40], edi
je 0x43054e
test edx, edx
jne 0x430541
inc dword [esp + 0x4c]
cmp edx, 1
jne 0x43054e
mov dword [esp + 0x3c], 2
mov ecx, dword [esp + 0x68]
lea eax, [esi - 1]
cmp ecx, eax
je 0x430632
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x14]
add edx, 1
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
adc edi, 0
or ecx, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
je 0x4305a2
mov ecx, dword [esp + 0x18]
cmp edi, dword [eax + 0xc]
jb 0x43059e
ja 0x430590
cmp edx, dword [eax + 8]
jb 0x43059e
mov ebx, dword [eax + 0x18]
mov ebp, dword [eax + 0x1c]
add eax, 0x18
inc ecx
or ebx, ebp
jne 0x430584
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x2ac]
lea eax, [eax + edx*8]
mov edx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
lea ecx, [eax + 0x10]
or edx, ebp
mov dword [esp + 0x64], ecx
je 0x43060b
mov edi, dword [eax]
mov edx, dword [esp + 0x10]
mov ebx, dword [eax + 4]
mov ecx, dword [esp + 0x14]
sub edx, edi
sbb ecx, ebx
cmp ecx, ebp
ja 0x43060b
jb 0x4305e3
mov ecx, dword [esp + 0x64]
cmp edx, dword [ecx]
jae 0x43060b
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
test eax, eax
jl 0x43060b
jg 0x4305f3
test ecx, ecx
jb 0x43060b
mov edx, dword [esp + 0x14]
sub ecx, edi
mov edi, dword [esp + 0x10]
sbb eax, ebx
add ecx, edi
adc eax, edx
mov ebx, ecx
mov dword [esp + 0x60], eax
jmp 0x430612
or ebx, 0xffffffff
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
inc eax
add edx, 8
cmp eax, esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edx
jb 0x4304fe
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x28c]
push esi
lea eax, [esp + 0x88]
push edx
push eax
push ecx
call fcn.0042f640
add esp, 0x10
test eax, eax
jle 0x4308e9
mov eax, dword [esp + 0x78]
mov ecx, 1
cmp eax, ecx
jne 0x430732
mov eax, dword [esp + 0x54]
test eax, eax
je 0x430732
mov eax, dword [esp + 0x40]
test eax, eax
je 0x430732
cmp dword [esp + 0x3c], ecx
jne 0x430732
cmp eax, esi
jae 0x430732
cmp eax, dword [esp + 0x4c]
jne 0x430732
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, eax
ja 0x4306cb
jb 0x4306c5
cmp dword [esp + 0x20], ebp
jae 0x4306cb
mov ebx, dword [esp + 0x20]
jmp 0x4306cd
mov ebx, ebp
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 0
mov esi, dword [eax + 0x8c]
push esi
push ecx
push edx
call fcn.004f5e50
mov edi, dword [esp + 0x4c]
push edx
imul esi, edi
push eax
mov eax, dword [esp + 0x30]
push ebp
push eax
push esi
mov esi, dword [esp + 0x64]
push esi
call fcn.0042f750
add esp, 0x18
cmp eax, ebx
jae 0x43074a
mov edx, dword [esp + 0x34]
xor ecx, ecx
mov eax, dword [edx + 0x8c]
imul eax, edi
test eax, eax
jbe 0x430728
cmp byte [ecx + esi], 0
jne 0x430728
inc ecx
cmp ecx, eax
jb 0x43071d
cmp ecx, eax
jb 0x4308a8
jmp 0x43074a
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x290]
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x4307f8
mov edi, dword [eax + 0xa0]
mov esi, dword [eax + 0xa4]
mov ecx, edi
and ecx, esi
cmp ecx, 0xffffffff
je 0x4307f8
cmp dword [esp + 0x30], esi
jb 0x43079e
ja 0x430784
cmp dword [esp + 0x2c], edi
jb 0x43079e
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov ecx, ebp
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4307fc
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ecx, ebp
xor edx, edx
add ecx, eax
mov eax, edx
adc eax, dword [esp + 0x30]
cmp eax, esi
jb 0x4307fc
ja 0x4307bc
cmp ecx, edi
jbe 0x4307fc
mov ecx, ebp
mov eax, edx
sub ecx, edi
mov edi, dword [esp + 0x2c]
sbb eax, esi
mov esi, dword [esp + 0x30]
add ecx, edi
adc eax, esi
jne 0x4307d6
test ecx, ecx
jbe 0x4307fc
cmp eax, edx
ja 0x4307fc
jb 0x4307e0
cmp ecx, ebp
jae 0x4307fc
mov edi, ebp
xor eax, eax
sub edi, ecx
mov edx, ecx
add edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4307fc
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x94]
test eax, eax
jne 0x430822
mov edi, dword [esp + 0x38]
mov ecx, ebp
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x43085a
mov ecx, dword [esp + 0x28c]
test ecx, ecx
je 0x430837
mov edx, dword [ecx + 0x3ac4]
test edx, edx
jne 0x430846
push ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push eax
call fcn.004b6d60
add esp, 0x14
mov eax, dword [esp + 0x288]
test eax, eax
je 0x43085a
push 0
push ebp
call dword [eax + 4]
add esp, 8
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
add esi, ebp
add edx, ebp
xor eax, eax
add ecx, ebp
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x24]
adc ebx, eax
sub ecx, ebp
sbb edx, eax
mov dword [esp + 0x20], ecx
or ecx, edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], edx
jne 0x4302ac
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x4308c4
mov edx, dword [esp]
mov ecx, dword [esp + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x40]
push edx
call fcn.004b6a50
mov eax, dword [esp + 0x1c]
push eax
call fcn.004b6a50
mov eax, dword [esp + 0x50]
add esp, 0x27c
ret
mov dword [esp + 0x58], ebp
jmp 0x4308a8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4308fe
mov ecx, dword [esp + 0x298]
mov dword [ecx], 0
push eax
call fcn.004b6a50
add esp, 4
jmp 0x4308a8