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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x4138f2
sub esp, 0xa8
mov ebx, dword [0x6cff2c]
cmp ebx, 0
je 0x413152
add esp, 0xa8
ret
lea ebx, [esp + 0xac]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x58]
mov ecx, dword [ebx]
mov dword [esp + 0x54], ecx
xor ebp, ebp
cmp ecx, ebp
jne 0x413186
mov ebx, 0x5f9319
mov dword [esp], ebx
mov dword [esp + 4], 0x2b
call fcn.00429650
mov ecx, dword [esp + 0x54]
movzx ebp, byte [ecx + 0xf]
mov ebx, ebp
and ebx, 0x1f
cmp bl, 0x16
je 0x4131fc
mov dword [esp], ecx
call fcn.00447f40
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp], 0
mov ebx, 0x5f888d
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x28
mov dword [esp + 0x70], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], eax
mov ebx, 0x5f051c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0xd
call fcn.0043f0a0
lea ebx, [esp + 0x1c]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.00429650
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
mov ebp, dword [ecx + 0x20]
xor ebx, ebx
cmp ebp, ebx
jne 0x41321e
mov ebx, 0x5f0c39
mov dword [esp], ebx
mov dword [esp + 4], 0xe
call fcn.00429650
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx + 4]
mov dword [esp], ebp
call fcn.00413900
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 8]
mov dword [esp + 0x5c], edx
xor ebp, ebp
cmp edx, ebp
jne 0x4132e9
mov ebp, dword [ecx + 4]
mov ebx, 0x6cfd18
cmp ebp, ebx
jne 0x41325a
add esp, 0xa8
ret
mov eax, 0x6ab400
xor ebp, ebp
cmp eax, ebp
je 0x4132c8
mov esi, dword [eax + 0x38]
mov ebp, dword [ecx + 4]
cmp esi, ebp
ja 0x413280
mov esi, dword [ecx + 4]
mov ebp, dword [eax + 0x3c]
cmp esi, ebp
jae 0x413280
add esp, 0xa8
ret
mov esi, dword [eax + 0x40]
mov ebp, dword [ecx + 4]
cmp esi, ebp
ja 0x413294
mov esi, dword [ecx + 4]
mov ebp, dword [eax + 0x44]
cmp esi, ebp
jb 0x413279
mov esi, dword [eax + 0x48]
mov ebp, dword [ecx + 4]
cmp esi, ebp
ja 0x4132a8
mov esi, dword [ecx + 4]
mov ebp, dword [eax + 0x4c]
cmp esi, ebp
jb 0x413279
mov esi, dword [eax + 0x50]
mov ebp, dword [ecx + 4]
cmp esi, ebp
ja 0x4132bc
mov esi, dword [ecx + 4]
mov ebp, dword [eax + 0x54]
cmp esi, ebp
jb 0x413279
mov eax, dword [eax + 0xac]
xor ebp, ebp
cmp eax, ebp
jne 0x413265
mov ebx, 0x5fa972
mov dword [esp], ebx
mov dword [esp + 4], 0x34
call fcn.00429650
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov ebp, dword [ecx + 4]
cmp ebp, edx
je 0x413322
mov ebp, dword [esi + 0x20]
xor ebx, ebx
cmp ebp, ebx
je 0x4138d4
mov ebp, dword [esi + 0x20]
movzx ebx, byte [ebp + 0xf]
and ebx, 0x80
cmp bl, 0
je 0x4138d4
mov ebp, dword [esi + 0x20]
mov ebx, dword [ebp]
cmp ebx, 0x10
jae 0x4138d4
lea ebx, [esp + 0xb4]
mov dword [esp + 0x50], ebx
mov eax, dword [ebx]
xor ebp, ebp
cmp eax, ebp
jne 0x41335c
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
mov edx, 0x44b510
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [esp], eax
call fcn.0044fe50
add esp, 0xa8
ret
movzx ebp, byte [eax + 0xf]
mov ebx, ebp
and ebx, 0x1f
cmp bl, 0x13
je 0x4133d6
mov dword [esp + 0x44], eax
mov dword [esp], eax
call fcn.00447f40
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp], 0
mov ebx, 0x5f8be0
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x29
mov dword [esp + 0x70], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], eax
mov ebx, 0x5f11a0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x10
call fcn.0043f0a0
lea ebx, [esp + 0x1c]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.00429650
mov eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x48]
movzx ebp, word [ebx + 0x22]
mov ebx, ebp
and ebx, 0x8000
cmp bx, 0
jne 0x4138ca
xor eax, eax
cmp al, 0
je 0x4134a8
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
call fcn.00447f40
mov ebx, dword [esp + 4]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call fcn.00447f40
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp], 0
mov ebx, 0x5f744a
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x22
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
mov ebx, 0x5f08c7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x60], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], eax
mov ebx, 0x5f1ba8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x12
call fcn.0043f1a0
lea ebx, [esp + 0x2c]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.00429650
mov ebx, dword [esp + 0x48]
movzx ebp, word [ebx + 0x22]
mov ebx, ebp
and ebx, 0x8000
cmp bx, 0
jne 0x4138c0
xor eax, eax
cmp al, 0
jne 0x413827
mov ebx, dword [esp + 0x48]
movzx ebp, word [ebx + 0x20]
cmp bp, 1
jne 0x413827
mov ecx, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov eax, 0x24
movzx ebp, byte [ecx + 0xc]
mov ebx, ebp
and ebx, 1
cmp bl, 0
je 0x413510
add eax, 0x10
mov edx, ecx
add edx, eax
movzx ebp, word [ecx + 0x20]
cmp ebp, 0x100000
ja 0x413820
cmp edx, 0
je 0x413819
mov ecx, 0x100000
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ecx
lea ebx, [esp + 0x84]
cmp dword [ebx + 4], 0
jbe 0x413812
mov ebp, dword [ebx]
mov eax, dword [ebp]
mov dword [esp + 0x4c], eax
mov ebp, dword [esp + 0x54]
cmp eax, ebp
jne 0x4136c3
xor edx, edx
mov eax, dword [esp + 0x48]
xor ebx, ebx
mov ecx, 0x24
movzx ebp, byte [eax + 0xc]
mov ebx, ebp
and ebx, 1
cmp bl, 0
je 0x41358b
add ecx, 0x10
movzx ebp, word [eax + 0x22]
mov ebx, ebp
and ebx, 0x7fff
mov esi, ebx
mov edi, eax
add edi, ecx
movzx ebp, word [eax + 0x20]
mov word [esp + 0x36], bp
movzx ebp, word [eax + 0x20]
mov ebx, ebp
add ebx, esi
mov ecx, ebx
movzx ebx, word [esp + 0x36]
mov eax, ebx
movzx ebx, cx
cmp ebx, 0x100000
ja 0x4136bc
cmp eax, ebx
ja 0x4136bc
mov esi, ebx
sub esi, eax
mov ecx, 0x100000
sub ecx, eax
mov ebx, edi
cmp edi, 0
je 0x4136b5
cmp ecx, 0
je 0x4135f0
mov ebp, eax
imul ebp, ebp, 4
add ebx, ebp
mov eax, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ecx
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0x3c]
cmp ecx, ebp
jge 0x413630
mov esi, dword [eax]
movzx ebp, byte [esi + 0xd]
add edx, ebp
dec edx
dec ebp
mov ebx, ebp
xor ebx, 0xffffffff
and edx, ebx
mov ebx, dword [esi]
add edx, ebx
add eax, 4
inc ecx
mov ebp, dword [esp + 0x3c]
cmp ecx, ebp
jl 0x41360f
mov ebx, 4
mov ebp, edx
add ebp, ebx
dec ebp
dec ebx
xor ebx, 0xffffffff
and ebp, ebx
mov dword [esp + 0x38], ebp
call fcn.00412d00
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x90]
mov ecx, 0x44b540
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x14], ecx
mov dword [esp], eax
call fcn.0044fe50
add esp, 0xa8
ret
mov dword [edi], eax
jmp 0x4135e4
call fcn.00427a00
ud2
movzx ebp, byte [eax + 0xf]
mov ebx, ebp
and ebx, 0x1f
cmp bl, 0x16
jne 0x4137b9
mov dword [esp], eax
call fcn.00447fe0
mov ebx, dword [esp + 4]
xor ebp, ebp
cmp ebx, ebp
je 0x41379e
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
call fcn.00447fe0
mov ebx, dword [esp + 4]
xor ebp, ebp
cmp ebx, ebp
je 0x41379e
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
call fcn.00447f40
mov ebx, dword [esp + 4]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call fcn.00447f40
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp], 0
mov ebx, 0x5f744a
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x22
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
mov ebx, 0x5f08c7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x60], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], eax
call fcn.0043f120
lea ebx, [esp + 0x24]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.00429650
jmp 0x41356d
mov ebx, dword [esp + 0x4c]
mov ecx, dword [ebx + 0x20]
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 0x20]
cmp ecx, ebp
jne 0x413705
jmp 0x41356d
movzx ebp, byte [eax + 0xf]
mov ebx, ebp
and ebx, 0x1f
cmp bl, 0x14
jne 0x413705
mov ebp, dword [eax + 0x28]
cmp ebp, 0
jne 0x4137d8
jmp 0x41356d
lea ebx, [esp + 0xac]
mov dword [esp], eax
lea edi, [esp + 4]
cld
mov ecx, dword [ebx]
mov dword [edi], ecx
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
mov dword [esp + 0xc], 0
call fcn.0040b8d0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x41380d
jmp 0x41356d
jmp 0x413705
call fcn.00427990
ud2
mov dword [edx], eax
jmp 0x41352d
call fcn.00427a00
ud2
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
call fcn.00447f40
mov ebx, dword [esp + 4]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call fcn.00447f40
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp], 0
mov ebx, 0x5f744a
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x22
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
mov ebx, 0x5f08c7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x60], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], eax
call fcn.0043f120
lea ebx, [esp + 0x24]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.00429650
jmp 0x4134df
mov eax, 1
jmp 0x4134c4
mov eax, 1
jmp 0x4133fa
mov ebx, 0x5fbbee
mov dword [esp], ebx
mov dword [esp + 4], 0x41
call fcn.00429650
mov ecx, dword [esp + 0x58]
jmp 0x413322
call fcn.0044ff60
jmp fcn.00413120