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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x449868]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x449868]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esp + 0x34], ebx
call fcn.004033f0
push eax
mov dword [esp + 0x9c], 0
call fcn.0040a720
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [esp + 0x38]
add esp, 4
mov ebx, eax
mov dword [esp + 0x2c], ebx
test ecx, ecx
je 0x4093b2
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4093b2
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.004092d0
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov dword [esp + 0x9c], 1
call fcn.004033f0
push eax
mov byte [esp + 0x9c], 2
call fcn.0040a0c0
mov byte [esp + 0x9c], 1
mov ecx, dword [esp + 0x28]
add esp, 4
mov edi, eax
test ecx, ecx
je 0x409409
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x409409
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [edi]
lea ecx, [esp + 0x6c]
push ecx
push 0x4414e0
push str.0123456789ABCDEFabcdef_XxPp
mov ecx, edi
call dword [eax + 0x1c]
mov edi, dword [esp + 0x30]
push dword [esp + 0x14]
mov ecx, esi
mov ebx, edi
mov byte [esp + 0x1e], 0
call fcn.0040ad50
test al, al
jne 0x4094a3
cmp byte [esi + 4], al
jne 0x409473
mov ecx, dword [esi]
test ecx, ecx
je 0x409469
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x40945a
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x40945a
movzx eax, byte [edx]
jmp 0x40945f
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409469
mov byte [esi + 5], al
jmp 0x40946f
mov dword [esi], 0
mov byte [esi + 4], 1
mov al, byte [esi + 5]
mov ecx, esi
cmp al, byte [esp + 0x83]
jne 0x409486
mov byte [edi], 0x2b
jmp 0x40949b
call fcn.00409f20
mov al, byte [eax]
cmp al, byte [esp + 0x82]
jne 0x4094a3
mov byte [edi], 0x2d
mov ecx, esi
lea ebx, [edi + 1]
call fcn.00409f70
push dword [esp + 0x14]
mov word [ebx], 0x7830
xor edi, edi
add ebx, 2
mov ecx, esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x17], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], edi
call fcn.0040ad50
test al, al
jne 0x409557
cmp byte [esi + 4], al
jne 0x409506
mov ecx, dword [esi]
test ecx, ecx
je 0x409500
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x4094f1
mov eax, dword [ecx + 0x2c]
cmp dword [eax], edi
jle 0x4094f1
movzx eax, byte [edx]
jmp 0x4094f6
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409500
mov byte [esi + 5], al
jmp 0x409502
mov dword [esi], edi
mov byte [esi + 4], 1
mov al, byte [esi + 5]
cmp al, byte [esp + 0x6c]
jne 0x409557
mov ecx, esi
call fcn.00409f70
push dword [esp + 0x14]
mov ecx, eax
call fcn.0040ad50
test al, al
jne 0x409552
mov ecx, esi
call fcn.00409f20
mov al, byte [eax]
cmp al, byte [esp + 0x85]
je 0x409549
mov ecx, esi
call fcn.00409f20
mov al, byte [eax]
cmp al, byte [esp + 0x84]
jne 0x409552
mov ecx, esi
call fcn.00409f70
jmp 0x409557
mov byte [esp + 0x13], 1
cmp dword [esp + 0x68], 0x10
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov al, byte [eax]
cmp al, 0x7f
je 0x40980a
test al, al
jle 0x40980a
cmp dword [esp + 0x64], edi
jne 0x409588
mov byte [esp + 0x1b], 0
jmp 0x409597
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [esp + 0x1b], al
mov dword [esp + 0x50], 0xf
mov word [esp + 0x3c], di
mov dword [esp + 0x4c], 1
push dword [esp + 0x14]
mov ecx, esi
mov byte [esp + 0x9c], 3
xor edi, edi
call fcn.0040ad50
mov ebx, dword [esp + 0x3c]
test al, al
jne 0x409740
lea ecx, [ecx]
cmp byte [esi + 4], 0
jne 0x40960b
mov ecx, dword [esi]
test ecx, ecx
je 0x409601
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x4095f2
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x4095f2
movzx eax, byte [edx]
jmp 0x4095f7
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409601
mov byte [esi + 5], al
jmp 0x409607
mov dword [esi], 0
mov byte [esi + 4], 1
mov cl, byte [esp + 0x6c]
lea eax, [esp + 0x6c]
test cl, cl
je 0x40962c
mov dl, byte [esi + 5]
lea ebx, [ebx]
cmp cl, dl
je 0x40962c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x409620
lea ecx, [esp + 0x6c]
sub eax, ecx
cmp eax, 0x16
jae 0x40968c
mov edx, dword [esp + 0x28]
mov byte [esp + 0x13], 1
cmp edx, 0x24
jl 0x40964b
inc dword [esp + 0x1c]
jmp 0x409669
test eax, eax
jne 0x409653
test edx, edx
je 0x409669
mov ecx, dword [esp + 0x20]
mov al, byte [eax + str.0123456789ABCDEFabcdef_XxPp]
mov byte [ecx], al
inc ecx
inc edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x3c]
cmovae eax, ebx
cmp byte [eax + edi], 0x7f
je 0x4096cc
cmp ecx, 0x10
lea eax, [esp + 0x3c]
cmovae eax, ebx
inc byte [eax + edi]
jmp 0x4096c8
mov edx, dword [esp + 0x50]
cmp edx, 0x10
lea eax, [esp + 0x3c]
cmovae eax, ebx
cmp byte [eax + edi], 0
je 0x409726
cmp byte [esp + 0x1b], 0
je 0x409726
mov ecx, esi
call fcn.00409f20
mov cl, byte [esp + 0x1b]
cmp byte [eax], cl
jne 0x409722
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00405320
inc edi
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esi]
test ecx, ecx
je 0x409705
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x4096f5
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x4096f5
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x4096fa
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x409705
mov byte [esi + 4], 0
jmp 0x40970f
mov dword [esi], 0
mov byte [esi + 4], 1
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
je 0x4095d0
mov edx, dword [esp + 0x50]
test edi, edi
je 0x409740
cmp edx, 0x10
lea eax, [esp + 0x3c]
cmovae eax, ebx
cmp byte [eax + edi], 0
jle 0x409787
inc edi
jmp 0x409740
mov eax, dword [esp + 0x24]
test edi, edi
je 0x40978e
mov cl, byte [eax]
cmp cl, 0x7f
je 0x40978e
mov edx, dword [esp + 0x50]
dec edi
je 0x409765
cmp edx, 0x10
lea eax, [esp + 0x3c]
cmovae eax, ebx
cmp cl, byte [eax + edi]
jne 0x409787
test edi, edi
jne 0x409777
cmp edx, 0x10
lea eax, [esp + 0x3c]
cmovae eax, ebx
cmp cl, byte [eax]
jl 0x409787
mov eax, dword [esp + 0x24]
inc eax
cmp byte [eax], 0
jle 0x409740
mov dword [esp + 0x24], eax
jmp 0x409744
mov byte [esp + 0x1a], 1
jmp 0x409792
mov edx, dword [esp + 0x50]
mov byte [esp + 0x98], 1
cmp edx, 0x10
jb 0x4097a8
push ebx
call fcn.0041b458
add esp, 4
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
cmp byte [esp + 0x13], 0
je 0x4097c3
test edi, edi
jne 0x4097c3
mov byte [ebx], 0x30
inc ebx
mov dword [esp + 0x20], ebx
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
jne 0x40998d
cmp byte [esi + 4], al
jne 0x409929
mov ecx, dword [esi]
test ecx, ecx
je 0x40991f
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409910
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x409910
movzx eax, byte [edx]
jmp 0x409915
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
jne 0x4097b0
lea esp, [esp]
cmp byte [esi + 4], 0
jne 0x40985b
mov ecx, dword [esi]
test ecx, ecx
je 0x409851
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409842
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x409842
movzx eax, byte [edx]
jmp 0x409847
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409851
mov byte [esi + 5], al
jmp 0x409857
mov dword [esi], 0
mov byte [esi + 4], 1
mov cl, byte [esp + 0x6c]
lea eax, [esp + 0x6c]
test cl, cl
je 0x40987c
mov dl, byte [esi + 5]
lea ebx, [ebx]
cmp cl, dl
je 0x40987c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x409870
lea ecx, [esp + 0x6c]
sub eax, ecx
cmp eax, 0x16
jae 0x4097b0
cmp edi, 0x24
jl 0x409896
inc dword [esp + 0x1c]
jmp 0x4098b0
test eax, eax
jne 0x40989e
test edi, edi
je 0x4098b0
mov al, byte [eax + str.0123456789ABCDEFabcdef_XxPp]
mov byte [ebx], al
inc ebx
inc edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], edi
mov ecx, dword [esi]
mov byte [esp + 0x13], 1
test ecx, ecx
je 0x4098ee
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x4098de
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x4098de
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x4098e3
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x4098ee
mov byte [esi + 4], 0
jmp 0x4098f8
mov dword [esi], 0
mov byte [esi + 4], 1
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
je 0x409820
jmp 0x4097b7
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x40991f
mov byte [esi + 5], al
jmp 0x409925
mov dword [esi], 0
mov byte [esi + 4], 1
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp byte [esi + 5], al
jne 0x40998d
call fcn.0041c27e
mov eax, dword [eax]
inc ebx
mov al, byte [eax]
mov byte [ebx - 1], al
mov ecx, dword [esi]
mov dword [esp + 0x20], ebx
test ecx, ecx
je 0x409983
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x409973
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x409973
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x409978
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x409983
mov byte [esi + 4], 0
jmp 0x40998d
mov dword [esi], 0
mov byte [esi + 4], 1
test edi, edi
jne 0x409a6a
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
jne 0x409a59
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
cmp byte [esi + 4], 0
jne 0x4099eb
mov ecx, dword [esi]
test ecx, ecx
je 0x4099e1
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x4099d2
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x4099d2
movzx eax, byte [edx]
jmp 0x4099d7
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x4099e1
mov byte [esi + 5], al
jmp 0x4099e7
mov dword [esi], 0
mov byte [esi + 4], 1
mov al, byte [esi + 5]
cmp al, byte [esp + 0x6c]
jne 0x409a4d
mov ecx, dword [esi]
dec ebx
mov byte [esp + 0x13], 1
test ecx, ecx
je 0x409a33
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x409a23
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x409a23
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x409a28
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x409a33
mov byte [esi + 4], 0
jmp 0x409a3d
mov dword [esi], 0
mov byte [esi + 4], 1
push edi
mov ecx, esi
call fcn.0040ad50
test al, al
je 0x4099b0
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x409a6a
mov byte [ebx], 0x30
inc ebx
inc eax
mov dword [esp + 0x1c], eax
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
jne 0x409b53
lea ecx, [ecx]
cmp byte [esi + 4], 0
jne 0x409abb
mov ecx, dword [esi]
test ecx, ecx
je 0x409ab1
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409aa2
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x409aa2
movzx eax, byte [edx]
jmp 0x409aa7
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409ab1
mov byte [esi + 5], al
jmp 0x409ab7
mov dword [esi], 0
mov byte [esi + 4], 1
mov cl, byte [esp + 0x6c]
lea eax, [esp + 0x6c]
test cl, cl
je 0x409adc
mov dl, byte [esi + 5]
lea ebx, [ebx]
cmp cl, dl
je 0x409adc
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x409ad0
lea ecx, [esp + 0x6c]
sub eax, ecx
cmp eax, 0x16
jae 0x409b53
cmp edi, 0x24
jge 0x409af6
mov al, byte [eax + str.0123456789ABCDEFabcdef_XxPp]
mov byte [ebx], al
inc ebx
inc edi
mov ecx, dword [esi]
mov byte [esp + 0x13], 1
test ecx, ecx
je 0x409b34
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x409b24
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x409b24
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x409b29
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x409b34
mov byte [esi + 4], 0
jmp 0x409b3e
mov dword [esi], 0
mov byte [esi + 4], 1
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
je 0x409a80
jmp 0x409b5f
mov al, byte [esp + 0x13]
test al, al
je 0x409ec5
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
jne 0x409ec1
cmp byte [esi + 4], al
jne 0x409bac
mov ecx, dword [esi]
test ecx, ecx
je 0x409ba2
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409b93
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x409b93
movzx eax, byte [edx]
jmp 0x409b98
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409ba2
mov byte [esi + 5], al
jmp 0x409ba8
mov dword [esi], 0
mov byte [esi + 4], 1
mov al, byte [esi + 5]
cmp al, byte [esp + 0x87]
je 0x409c03
cmp byte [esi + 4], 0
jne 0x409bf3
mov ecx, dword [esi]
test ecx, ecx
je 0x409be9
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409bda
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x409bda
movzx eax, byte [edx]
jmp 0x409bdf
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409be9
mov byte [esi + 5], al
jmp 0x409bef
mov dword [esi], 0
mov byte [esi + 4], 1
mov al, byte [esi + 5]
cmp al, byte [esp + 0x86]
jne 0x409ec1
mov byte [ebx], 0x70
mov ecx, dword [esi]
inc ebx
test ecx, ecx
je 0x409c40
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x409c30
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x409c30
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x409c35
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x409c40
mov byte [esi + 4], 0
jmp 0x409c4a
mov dword [esi], 0
mov byte [esi + 4], 1
push dword [esp + 0x14]
mov ecx, esi
mov byte [esp + 0x17], 0
xor edi, edi
call fcn.0040ad50
test al, al
jne 0x409d2e
cmp byte [esi + 4], al
jne 0x409c99
mov ecx, dword [esi]
test ecx, ecx
je 0x409c93
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409c84
mov eax, dword [ecx + 0x2c]
cmp dword [eax], edi
jle 0x409c84
movzx eax, byte [edx]
jmp 0x409c89
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409c93
mov byte [esi + 5], al
jmp 0x409c95
mov dword [esi], edi
mov byte [esi + 4], 1
mov al, byte [esi + 5]
cmp al, byte [esp + 0x83]
jne 0x409caa
mov byte [ebx], 0x2b
jmp 0x409cef
cmp byte [esi + 4], 0
jne 0x409ce0
mov ecx, dword [esi]
test ecx, ecx
je 0x409cda
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409ccb
mov eax, dword [ecx + 0x2c]
cmp dword [eax], edi
jle 0x409ccb
movzx eax, byte [edx]
jmp 0x409cd0
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409cda
mov byte [esi + 5], al
jmp 0x409cdc
mov dword [esi], edi
mov byte [esi + 4], 1
mov al, byte [esi + 5]
cmp al, byte [esp + 0x82]
jne 0x409d2e
mov byte [ebx], 0x2d
mov ecx, dword [esi]
inc ebx
test ecx, ecx
je 0x409d28
mov eax, dword [ecx + 0x1c]
cmp dword [eax], edi
je 0x409d18
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x409d18
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x409d1d
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x409d28
mov byte [esi + 4], 0
jmp 0x409d2e
mov byte [esi + 4], 1
mov dword [esi], edi
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
jne 0x409de3
cmp byte [esi + 4], 0
jne 0x409d77
mov ecx, dword [esi]
test ecx, ecx
je 0x409d71
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409d62
mov eax, dword [ecx + 0x2c]
cmp dword [eax], edi
jle 0x409d62
movzx eax, byte [edx]
jmp 0x409d67
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409d71
mov byte [esi + 5], al
jmp 0x409d73
mov dword [esi], edi
mov byte [esi + 4], 1
mov al, byte [esi + 5]
cmp al, byte [esp + 0x6c]
jne 0x409dd8
mov ecx, dword [esi]
mov byte [esp + 0x13], 1
test ecx, ecx
je 0x409dbd
mov eax, dword [ecx + 0x1c]
cmp dword [eax], edi
je 0x409dad
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x409dad
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x409db2
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x409dbd
mov byte [esi + 4], 0
jmp 0x409dc3
mov dword [esi], edi
mov byte [esi + 4], 1
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
je 0x409d41
jmp 0x409ddf
cmp byte [esp + 0x13], 0
je 0x409de3
mov byte [ebx], 0x30
inc ebx
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
jne 0x409ec1
cmp byte [esi + 4], 0
jne 0x409e31
mov ecx, dword [esi]
test ecx, ecx
je 0x409e27
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x409e18
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x409e18
movzx eax, byte [edx]
jmp 0x409e1d
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409e27
mov byte [esi + 5], al
jmp 0x409e2d
mov dword [esi], 0
mov byte [esi + 4], 1
mov cl, byte [esp + 0x6c]
lea eax, [esp + 0x6c]
test cl, cl
je 0x409e4c
mov dl, byte [esi + 5]
cmp cl, dl
je 0x409e4c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x409e40
lea ecx, [esp + 0x6c]
sub eax, ecx
cmp eax, 0x16
jae 0x409ec1
cmp edi, 8
jge 0x409e66
mov al, byte [eax + str.0123456789ABCDEFabcdef_XxPp]
mov byte [ebx], al
inc ebx
inc edi
mov ecx, dword [esi]
mov byte [esp + 0x13], 1
test ecx, ecx
je 0x409ea4
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x409e94
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x409e94
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x409e99
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x409ea4
mov byte [esi + 4], 0
jmp 0x409eae
mov dword [esi], 0
mov byte [esi + 4], 1
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040ad50
test al, al
je 0x409df6
mov al, byte [esp + 0x13]
cmp byte [esp + 0x1a], 0
jne 0x409ed0
test al, al
jne 0x409ed4
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x68], 0x10
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov byte [ebx], 0
mov dword [ecx], eax
jb 0x409ef4
push dword [esp + 0x54]
call fcn.0041b458
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0041aca0
mov esp, ebp
pop ebp
ret