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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [ebp + 8]
mov ecx, 3
lea edx, [esp + 0x61]
mov byte [esp + 0xbb], 0x5a
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
mov ebx, esi
and ebx, 0x6710
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xa4], 0x492
mov byte [esp + 0x73], 0x99
mov word [esp + 0x70], 0x255
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0x6b75
mov bl, byte [esp + 0xbb]
mov bh, bl
xor bh, 0x2e
mov byte [esp + 0x83], bh
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x5c], eax
xor eax, 0x49e
mov dword [esp + 0x58], eax
mov eax, esp
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov dword [eax], 0x41508b
mov byte [esp + 0x53], bl
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], esi
call fcn.004119d0
mov ecx, dword [esp + 0x5c]
add ecx, 0x41d
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0xa4]
add eax, 0xfffffb7c
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 0x4150a6
call fcn.004119d0
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x14], eax
mov eax, esp
mov dword [eax + 4], 0xd
mov dword [eax], 0x415098
call fcn.004119d0
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x18], eax
mov eax, esp
mov dword [eax + 4], 0xc
mov dword [eax], 0x415053
call fcn.004119d0
mov ecx, dword [esp + 0xa0]
movzx edx, word [esp + 0xac]
mov si, dx
or edx, 0x7818
mov di, dx
mov word [esp + 0xac], di
mov dword [ecx], eax
mov eax, esp
mov dword [eax + 4], 0xe
mov dword [eax], 0x415062
mov word [esp + 0x42], si
call fcn.004119d0
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 4], eax
mov eax, esp
mov dword [eax], fcn.00410740
call fcn.00411aa0
mov dword [esp + 0x64], eax
mov ecx, esp
mov dword [ecx], eax
call fcn.00411c00
mov eax, dword [eax + 0x50]
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x34], ecx
call fcn.00410610
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x3c], eax
call fcn.0040f9b0
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x34]
mov esi, dword [esp + 0xa4]
add esi, 0xfffffbae
mov eax, dword [eax + 0x38]
mov word [esp + 0xac], 0xa06e
mov edi, esp
lea ebx, [esp + 0x6c]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], esi
mov dword [edi + 4], eax
mov dword [edi], edx
call ecx
sub esp, 0x10
mov ecx, dword [esp + 0xa0]
mov edx, dword [0x416154]
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0xb0], 0xffffe59b
mov dword [ecx + 0x44], edx
mov ecx, dword [esp + 0xa0]
mov edx, dword [0x416150]
mov dword [ecx + 0x48], edx
mov ecx, dword [esp + 0x44]
add ecx, 0x20d
mov edx, dword [esp + 0x4c]
adc edx, 0
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], ecx
mov ecx, dword [0x416140]
mov dword [esp + 0x7c], ecx
mov cl, byte [esp + 0xbb]
add cl, 0xa6
mov byte [esp + 0x61], cl
mov cx, word [esp + 0x42]
mov word [esp + 0xac], cx
mov byte [esp + 0x62], 0
mov cl, byte [esp + 0xbb]
xor cl, 0x5a
mov byte [esp + 0x63], cl
mov dword [esp + 0x78], 0
mov edx, dword [esp + 0xa4]
xor edx, 0x492
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xa4]
add edx, 0xfffffb6e
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0xa4]
xor edx, 0x492
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x7c]
add edx, 3
mov esi, dword [esp + 0x48]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], 3
mov dword [esp + 0x3c], eax
call fcn.00410120
mov byte [esp + 0x9f], 0
mov cx, word [esp + 0x42]
imul cx, cx, 0x5663
mov word [esp + 0xac], cx
mov dword [esp + 0x38], eax
mov al, 0x24
mov cx, word [esp + 0x42]
mov word [esp + 0xac], cx
mov dl, byte [esp + 0x83]
mov ah, byte [esp + 0x53]
or ah, 0x10
mov byte [esp + 0xaf], ah
cmp al, dl
ja 0x410d18
mov eax, dword [esp + 0xa4]
xor eax, 0x491
movzx ecx, byte [esp + 0x9f]
mov byte [esp + 0x6b], 0
cmp ecx, eax
jge 0x410ac1
cmp dword [esp + 0x74], 0
setne al
xor al, 0xff
and al, 1
mov byte [esp + 0x6b], al
test byte [esp + 0x6b], 1
jne 0x410acd
jmp 0x410ce3
mov eax, dword [esp + 0x44]
add eax, eax
mov ecx, dword [esp + 0x4c]
adc ecx, ecx
movzx edx, byte [esp + 0x9f]
movzx edx, byte [esp + edx + 0x61]
mov esi, edx
sub esi, 0x53
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edx
je 0x410b2a
jmp 0x410b05
mov eax, dword [esp + 0x30]
sub eax, 0x56
mov dword [esp + 0x2c], eax
je 0x410b84
jmp 0x410b14
mov eax, dword [esp + 0x30]
sub eax, 0x57
mov dword [esp + 0x28], eax
je 0x410bfc
jmp 0x410c90
mov al, 0xde
xor ecx, ecx
movzx edx, byte [esp + 0x9f]
mov esi, dword [esp + 0xa4]
xor esi, 0x496
imul edx, esi
sub ecx, edx
mov edx, dword [esp + 0xa0]
mov edx, dword [edx + 0x44]
mov ecx, dword [edx + ecx - 8]
mov ah, byte [esp + 0x73]
mov edx, dword [esp + 0xa0]
mov dword [edx + 0x54], ecx
cmp al, ah
jbe 0x410cb8
mov eax, dword [esp + 0xa4]
add eax, 0xfffffb6f
mov dword [esp + 0x8c], eax
jmp 0x410cb8
mov eax, 0x496
mov ecx, 0x492
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xa8], edx
mov si, word [esp + 0x42]
xor si, 0xffff
mov edi, dword [esp + 0xa4]
mov word [esp + 0xac], si
sub ecx, edi
mov si, word [esp + 0x42]
and si, si
mov word [esp + 0xac], si
mov edi, dword [esp + 0xa0]
mov edi, dword [edi + 0x44]
movzx ebx, byte [esp + 0x9f]
sub eax, dword [esp + 0xa4]
imul ebx, eax
sub ecx, ebx
mov eax, dword [edi + ecx - 8]
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x4c], eax
mov dword [esp + 0x78], 1
jmp 0x410cb8
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov ecx, dword [ecx + 0x44]
movzx edx, byte [esp + 0x9f]
mov esi, 0x6035
mov edi, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, edi
mov dword [esp + 0x20], edx
mul esi
mov esi, dword [esp + 0x4c]
imul ebx, esi, 0x6035
add edx, ebx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x20]
shl edx, 2
mov ebx, dword [esp + 0x24]
sub ebx, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xa8], edx
mov ecx, dword [ecx + ebx - 8]
mov ebx, dword [esp + 0xa0]
add eax, 0xfffffb6f
mov dword [ebx + 0x50], ecx
mov dword [esp + 0x84], eax
jmp 0x410cb8
mov eax, 0x493
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x44]
mov dword [esp + 0xb0], edx
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xb4], esi
sub eax, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0x7ad1
mov al, byte [esp + 0x9f]
add al, 1
mov byte [esp + 0x9f], al
jmp 0x410a68
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x88], eax
cmp word [esp + 0x70], 0x7e0b
ja 0x410acd
cmp dword [esp + 0x88], 0
jne 0x410d18
mov eax, dword [esp + 0xa0]
mov ecx, dword [0x41614c]
mov dword [eax + 0x54], ecx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
sub eax, 0x26fd
setb dl
xor ebx, ebx
test ecx, ecx
mov dh, bl
mov byte [esp + 0x1f], dh
mov dword [esp + 0x18], eax
mov byte [esp + 0x17], dl
je 0x410d4a
mov al, byte [esp + 0x1f]
mov byte [esp + 0x17], al
mov al, byte [esp + 0x17]
test al, al
jne 0x410c90
jmp 0x410d58
mov eax, 0x492
sub eax, dword [esp + 0xa4]
cmp dword [esp + 0x78], eax
jne 0x410d79
mov eax, dword [0x416144]
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x4c], eax
cmp dword [esp + 0x84], 0
jne 0x410d93
mov eax, dword [esp + 0xa0]
mov ecx, dword [0x416148]
mov dword [eax + 0x50], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret