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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x41a464
sub esp, 0xfc
xor eax, eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov edx, dword [esp + 0x100]
mov ebx, dword fs:[0x14]
mov eax, dword [ebx]
mov dword [esp + 0x74], eax
mov ebp, dword [eax + 0x18]
mov ebx, dword [ebp + 0x70]
cmp ebx, 0
jne 0x4198f0
mov ebp, dword [eax + 0x18]
mov ebx, dword [ebp + 0x60]
cmp ebx, 0
jne 0x4198f0
mov ebp, dword [eax + 0x18]
mov ecx, dword [ebp]
cmp ecx, eax
je 0x4198f0
mov ebx, 0x48762d
mov dword [esp], ebx
mov dword [esp + 4], 0x1c
call fcn.004251e0
mov edx, dword [esp + 0x100]
mov esi, dword [0x4c3600]
mov dword [esp + 0x28], esi
movzx ebp, byte [edx + 0x3c]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41a39d
mov ebp, dword [edx + 0x30]
mov ebx, esi
dec ebx
cmp ebp, ebx
jne 0x41a39d
movzx ebx, byte [0x4c8ec8]
cmp bl, 0
je 0x41992f
call fcn.0043d220
mov edx, dword [esp + 0x100]
mov ebx, 0x4c2de0
mov dword [esp], ebx
add dword [esp], 0x840
mov ebp, dword [edx + 0x10]
xor ecx, ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00452530
mov ebx, dword [esp + 0x100]
movzx ebp, byte [ebx + 0x3a]
xchg ebp, eax
mov byte [esp + 0x1b], al
xchg ebp, eax
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0x40]
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x18], 0
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x18]
mov ebx, dword [ebp + 0xb0]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x1a], 0
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x58], ebx
cmp dword [esp + 0x58], 0
je 0x41a392
add dword [esp + 0x58], 0x58
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx]
xor ebp, ebp
cmp edi, ebp
je 0x419c22
movzx esi, word [edi + 4]
mov ebp, esi
mov dword [esp + 0x50], eax
mov esi, edx
mov eax, ebp
mov ebp, dword [esp + 0x2c]
xor edx, edx
div ebp
mov ecx, eax
mov edx, esi
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0xc]
mov ebx, ecx
imul ebx, dword [esp + 0x2c]
add ebp, ebx
mov dword [esp + 0x30], ebp
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x60], ebx
mov ebp, ecx
xor ebx, ebx
mov ebx, ecx
shr ebx, 3
mov dword [esp + 0x24], ebx
mov esi, ecx
and ebp, 7
mov ecx, ebp
mov ebx, 1
shl ebx, cl
mov byte [esp + 0x1c], bl
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x2c]
mov dword [esp + 0x64], ebp
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x64]
add ebx, ecx
xor ebp, ebp
mov dword [esp + 0xe4], ebx
movzx ebp, byte [esp + 0x1c]
mov ecx, esi
mov esi, dword [esp + 0xe4]
xchg ebp, eax
mov byte [esp + 0xe8], al
xchg ebp, eax
mov dword [esp + 0xec], ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x9c], esi
xchg ebp, eax
mov byte [esp + 0x88], al
xchg ebp, eax
xchg ebp, eax
mov byte [esp + 0xa0], al
xchg ebp, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xa4], ecx
mov ebp, dword [esp + 0x9c]
movzx ebx, byte [esp + 0xa0]
mov ecx, ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc0], ebp
movzx ebp, byte [ebp]
mov byte [esp + 0xc4], cl
and ebp, ecx
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41a388
xor ecx, ecx
cmp cl, 0
jne 0x419c03
mov byte [esp + 0x19], 0
mov ebx, dword [esp + 0x100]
mov ebx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x30]
sub ebp, ebx
mov ebx, ebp
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x40], ebx
mov ecx, edi
xor ebp, ebp
cmp ecx, ebp
je 0x419b48
movzx ebp, word [ecx + 4]
mov ebx, dword [esp + 0x40]
cmp ebp, ebx
jae 0x419b48
movzx ebp, byte [ecx + 6]
xchg ebp, eax
cmp al, 1
xchg ebp, eax
jne 0x419bfc
mov ecx, dword [esp + 0x9c]
movzx ebx, byte [esp + 0xa0]
mov byte [esp + 0xb8], bl
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb4], ecx
movzx ebp, byte [ecx]
movzx ebx, byte [esp + 0xb8]
or ebx, ebp
mov byte [ecx], bl
mov byte [esp + 0x19], 1
xor ebp, ebp
cmp edi, ebp
je 0x4199ab
movzx ebp, word [edi + 4]
mov ebx, dword [esp + 0x40]
cmp ebp, ebx
jae 0x4199ab
mov ebx, dword [esp + 0x100]
mov esi, dword [ebx + 0xc]
movzx ebp, word [edi + 4]
mov ebx, ebp
mov ebp, esi
add ebp, ebx
mov dword [esp + 0x34], ebp
movzx ebp, byte [edi + 6]
xchg ebp, eax
cmp al, 1
xchg ebp, eax
je 0x419ba7
cmp byte [esp + 0x19], 0
je 0x419ba7
mov dword [esp + 0x58], edi
cmp dword [esp + 0x58], 0
je 0x419b9f
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx]
jmp 0x419b48
mov dword [0], eax
jmp 0x419b97
mov dword [esp + 0x54], edi
mov ebp, dword [edi]
mov dword [esp + 0x5c], ebp
mov ebx, dword [esp + 0x58]
cmp ebx, 0
je 0x419bf8
cmp byte [0x4d1078], 0
jne 0x419bea
mov dword [ebx], ebp
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
call fcn.0041e500
mov edi, dword [esp + 0x5c]
jmp 0x419b48
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040c4e0
jmp 0x419bc5
mov dword [ebx], eax
jmp 0x419bba
mov ecx, dword [ecx]
jmp 0x419ae8
mov dword [esp + 0x58], edi
cmp dword [esp + 0x58], 0
je 0x41a37d
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx]
xor ebp, ebp
cmp edi, ebp
jne 0x4199b5
mov ebx, dword [0x4d1120]
cmp ebx, 0
jne 0x41a0fe
mov ebx, dword [esp + 0x100]
mov dword [esp], ebx
call fcn.0040db30
mov eax, dword [esp + 0x100]
mov esi, dword [esp + 4]
movzx ebx, byte [esp + 0x1b]
cmp bl, 0
jne 0x419c67
cmp esi, 0
je 0x419c67
mov ecx, 1
mov byte [eax + 0x3d], cl
mov byte [esp + 0x1a], 1
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x38], esi
sub ecx, esi
movzx ebp, word [eax + 0x38]
mov ebx, ebp
sub ebx, ecx
mov word [esp + 0x1e], bx
movzx ebp, word [eax + 0x38]
mov word [esp + 0x20], cx
cmp bp, cx
jae 0x419da4
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x44], ebp
movzx ebp, word [eax + 0x38]
mov word [esp + 0x22], bp
call fcn.004259c0
mov ebx, 0x485940
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.004263d0
mov ebx, dword [esp + 0x44]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004261e0
mov ebx, 0x4845f4
mov dword [esp], ebx
mov dword [esp + 4], 7
call fcn.004263d0
mov eax, dword [esp + 0x38]
cdq
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004261e0
mov ebx, 0x4846cb
mov dword [esp], ebx
mov dword [esp + 4], 8
call fcn.004263d0
movzx ebx, word [esp + 0x20]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004261e0
mov ebx, 0x4863ad
mov dword [esp], ebx
mov dword [esp + 4], 0x15
call fcn.004263d0
movzx ebx, word [esp + 0x22]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004261e0
mov ebx, 0x4846db
mov dword [esp], ebx
mov dword [esp + 4], 8
call fcn.004263d0
movzx ebx, word [esp + 0x1e]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004261e0
mov ebx, 0x484313
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.004263d0
call fcn.00425a40
mov ebx, 0x488212
mov dword [esp], ebx
mov dword [esp + 4], 0x20
call fcn.004251e0
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 0x100]
mov word [eax + 0x38], cx
mov dword [esp], eax
call fcn.0040ca90
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 4]
mov ebp, dword [eax + 0x1c]
cmp ebp, edx
je 0x41a0f4
mov byte [esp + 0x17], 0
xor ecx, ecx
mov dword [eax + 0x18], ecx
mov ebp, dword [eax + 0x2c]
cmp byte [0x4d1078], 0
jne 0x41a0d9
mov dword [eax + 0x28], ebp
mov ebp, dword [eax + 0x1c]
mov dword [esp], ebp
call fcn.0041e720
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x100]
cmp ebx, 0
je 0x41a0d2
cmp byte [0x4d1078], 0
jne 0x41a0be
mov dword [ebx + 0x2c], eax
mov ebx, dword [esp + 0x100]
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.0040c9c0
movzx edi, word [esp + 0x1e]
movzx edx, byte [esp + 0x1b]
mov eax, dword [esp + 0x100]
cmp byte [esp + 0x1a], 0
jne 0x419fa8
cmp di, 0
je 0x419fa8
cmp di, 0
jbe 0x419f34
cmp dl, 0
je 0x419f34
mov ebx, dword [esp + 0x70]
cmp ebx, 0
je 0x419f2d
movzx ebp, dl
lea esi, [ebx + 0x144]
cmp ebp, 0x43
jae 0x419f26
shl ebp, 2
add esi, ebp
mov ecx, dword [esi]
movzx ebx, di
add ebx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x70]
cmp ebx, 0
je 0x419f1f
movzx ebp, dl
lea esi, [ebx + 0x144]
cmp ebp, 0x43
jae 0x419f18
shl ebp, 2
add esi, ebp
mov dword [esi], ecx
movzx ebx, dl
mov ebp, 0x4c3870
cmp ebx, 0x43
jae 0x419f11
imul ebx, ebx, 0x58
add ebp, ebx
mov dword [esp], ebp
mov dword [esp + 4], eax
movzx ebx, byte [esp + 0x104]
mov byte [esp + 8], bl
movzx ebx, byte [esp + 0x17]
mov byte [esp + 9], bl
call fcn.0040fef0
movzx ebx, byte [esp + 0xc]
mov byte [esp + 0x18], bl
movzx ebx, byte [0x4c8ec8]
cmp bl, 0
je 0x419efe
call fcn.0043d260
movzx ebx, byte [esp + 0x18]
mov byte [esp + 0x108], bl
add esp, 0xfc
ret
call fcn.00423570
ud2
call fcn.00423570
ud2
mov dword [ebx], eax
jmp 0x419e9c
call fcn.00423570
ud2
mov dword [ebx], eax
jmp 0x419e6f
cmp byte [esp + 0x1a], 0
je 0x419eed
mov ebx, dword [0x4d1128]
cmp ebx, 0
jle 0x419f89
xor ecx, ecx
mov dword [eax + 0x50], ecx
mov ebp, dword [eax + 0xc]
mov dword [esp], ebp
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
call fcn.00410650
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 0x140]
inc eax
mov dword [ecx + 0x140], eax
mov eax, dword [ecx + 0x13c]
add eax, dword [esp + 0x2c]
mov dword [ecx + 0x13c], eax
mov byte [esp + 0x18], 1
jmp 0x419eed
mov ebx, 0x4c2de0
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.0041ce70
mov ecx, dword [esp + 0x70]
jmp 0x419f62
movzx ebp, byte [eax + 0x3c]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x419ff7
mov ebp, dword [eax + 0x30]
mov ebx, dword [esp + 0x28]
dec ebx
cmp ebp, ebx
jne 0x419ff7
mov dword [esp], eax
cmp dword [esp], 0
je 0x419fef
add dword [esp], 0x30
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
call fcn.00452710
movzx edi, word [esp + 0x1e]
movzx edx, byte [esp + 0x1b]
mov eax, dword [esp + 0x100]
jmp 0x419e4f
mov dword [0], eax
jmp 0x419fc8
movzx ebp, byte [eax + 0x3c]
xchg ebp, eax
mov byte [esp + 0x1d], al
xchg ebp, eax
mov ebp, dword [eax + 0x30]
mov dword [esp + 0x4c], ebp
call fcn.004259c0
mov ebx, 0x485e61
mov dword [esp], ebx
mov dword [esp + 4], 0x13
call fcn.004263d0
movzx ebx, byte [esp + 0x1d]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004261e0
mov ebx, 0x4849ae
mov dword [esp], ebx
mov dword [esp + 4], 0xa
call fcn.004263d0
mov ebx, dword [esp + 0x4c]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004261e0
mov ebx, 0x4856d0
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.004263d0
mov ebx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004261e0
mov ebx, 0x484313
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.004263d0
call fcn.00425a40
mov ebx, 0x488cbc
mov dword [esp], ebx
mov dword [esp + 4], 0x27
call fcn.004251e0
mov eax, dword [esp + 0x100]
jmp 0x419fbf
lea esi, [ebx + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040c4e0
jmp 0x419e12
mov dword [ebx], eax
jmp 0x419e02
lea esi, [eax + 0x28]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040c4e0
mov eax, dword [esp + 0x100]
jmp 0x419de3
mov byte [esp + 0x17], 1
jmp 0x419dcb
mov ecx, dword [esp + 0x100]
xor ebx, ebx
xor ebx, ebx
mov ebp, dword [ecx + 0x2c]
mov ecx, 1
xor eax, eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0xa8], ebp
mov byte [esp + 0x94], cl
mov byte [esp + 0xac], cl
mov dword [esp + 0x98], eax
mov dword [esp + 0xb0], eax
mov edx, dword [esp + 0x100]
xor eax, eax
xor ebx, ebx
mov ecx, eax
shr ecx, 3
mov esi, eax
and esi, 7
mov edx, dword [edx + 0x28]
add edx, ecx
xor ebx, ebx
mov ebx, 1
mov ecx, esi
cmp esi, 8
jae 0x41a376
shl ebx, cl
mov dword [esp + 0xe4], edx
mov byte [esp + 0xe8], bl
mov dword [esp + 0xec], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0xf0], edx
mov byte [esp + 0x7c], bl
mov byte [esp + 0xf4], bl
mov dword [esp + 0x80], eax
mov dword [esp + 0xf8], eax
xor edx, edx
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x3c], edx
cmp ebp, edx
jbe 0x419c31
mov eax, dword [esp + 0xa8]
movzx ebx, byte [esp + 0xac]
mov ecx, ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xd8], eax
movzx ebp, byte [eax]
mov byte [esp + 0xdc], cl
and ebp, ecx
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41a36c
xor eax, eax
cmp al, 0
jne 0x41a261
mov ecx, dword [esp + 0xf8]
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0x18]
cmp ecx, ebp
jb 0x41a321
mov eax, dword [esp + 0xf0]
movzx ebx, byte [esp + 0xf4]
mov ecx, ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xcc], eax
movzx ebp, byte [eax]
mov byte [esp + 0xd0], cl
and ebp, ecx
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x41a362
xor eax, eax
cmp al, 0
jne 0x41a321
lea ebx, [esp + 0xa8]
mov eax, ebx
movzx ebp, byte [ebx + 4]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x41a311
mov ecx, dword [eax]
inc ecx
mov dword [esp + 0x6c], eax
cmp byte [0x4d1078], 0
jne 0x41a2f8
mov dword [eax], ecx
mov ecx, 1
mov byte [eax + 4], cl
mov ecx, dword [eax + 8]
inc ecx
mov dword [eax + 8], ecx
lea ebx, [esp + 0xf0]
mov eax, ebx
movzx ebp, byte [ebx + 4]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x41a2eb
mov ecx, dword [eax]
inc ecx
mov dword [esp + 0x68], eax
cmp byte [0x4d1078], 0
jne 0x41a2d5
mov dword [eax], ecx
mov ecx, 1
mov byte [eax + 4], cl
mov ecx, dword [eax + 8]
inc ecx
mov dword [eax + 8], ecx
inc edx
jmp 0x41a1a6
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c4e0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
jmp 0x41a2c0
movzx ebp, byte [ebx + 4]
mov ebx, ebp
shl ebx, 1
mov byte [eax + 4], bl
jmp 0x41a2c8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c4e0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
jmp 0x41a28b
movzx ebp, byte [ebx + 4]
mov ebx, ebp
shl ebx, 1
mov byte [eax + 4], bl
jmp 0x41a293
mov ebx, dword [esp + 0x100]
mov ebp, dword [ebx + 0xc]
mov ebx, dword [esp + 0x100]
mov ebx, dword [ebx + 0x40]
imul ebx, edx
add ebp, ebx
mov ebx, dword [0x4d1120]
cmp ebx, 0
je 0x41a261
mov dword [esp], ebp
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
call fcn.0041fa00
mov edx, dword [esp + 0x3c]
jmp 0x41a261
mov eax, 1
jmp 0x41a258
mov eax, 1
jmp 0x41a1fb
xor ebx, ebx
jmp 0x41a169
mov dword [0], eax
jmp 0x419c12
mov ecx, 1
jmp 0x419abe
mov dword [0], eax
jmp 0x4199a0
movzx ebp, byte [edx + 0x3c]
xchg ebp, eax
mov byte [esp + 0x1d], al
xchg ebp, eax
mov ebp, dword [edx + 0x30]
mov dword [esp + 0x48], ebp
call fcn.004259c0
mov ebx, 0x485e61
mov dword [esp], ebx
mov dword [esp + 4], 0x13
call fcn.004263d0
movzx ebx, byte [esp + 0x1d]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004261e0
mov ebx, 0x4849ae
mov dword [esp], ebx
mov dword [esp + 4], 0xa
call fcn.004263d0
mov ebx, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004261e0
mov ebx, 0x4856d0
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.004263d0
mov ebx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004261e0
mov ebx, 0x484313
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.004263d0
call fcn.00425a40
mov ebx, 0x4872fe
mov dword [esp], ebx
mov dword [esp + 4], 0x1b
call fcn.004251e0
mov edx, dword [esp + 0x100]
jmp 0x419917
call fcn.004489b0
jmp fcn.00419850